{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "import numpy as np \n",
    "import pandas as pd  \n",
    "from pandas.io.json import json_normalize \n",
    "import pymongo "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 43,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>_id</th>\n",
       "      <th>bonus</th>\n",
       "      <th>company</th>\n",
       "      <th>degree</th>\n",
       "      <th>experience</th>\n",
       "      <th>job</th>\n",
       "      <th>job_desc</th>\n",
       "      <th>location</th>\n",
       "      <th>release_time</th>\n",
       "      <th>requirements</th>\n",
       "      <th>salary</th>\n",
       "      <th>staff_num</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>5c828202cf6cc807bc8e3eea</td>\n",
       "      <td>股票期权\\t不打卡\\t扁平管理\\t领导nice\\t公司氛围好\\t带薪年假\\t处女座公司\\t年度旅游</td>\n",
       "      <td>投着乐</td>\n",
       "      <td>本科</td>\n",
       "      <td>1-3年</td>\n",
       "      <td>爬虫和页面分析提取专家</td>\n",
       "      <td>爬虫和页面分析提取研发专家7k-14k /杭州 / 经验3-5年 / 学历不限 / 全职职位...</td>\n",
       "      <td>杭州</td>\n",
       "      <td>2019-02-20 01:44</td>\n",
       "      <td>:1. 本科以上 从事java开发2～5年以上；2. 熟悉linux开发环境\\t熟练使用sh...</td>\n",
       "      <td>7000-12000</td>\n",
       "      <td>0-20</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                        _id  \\\n",
       "0  5c828202cf6cc807bc8e3eea   \n",
       "\n",
       "                                               bonus company degree  \\\n",
       "0  股票期权\\t不打卡\\t扁平管理\\t领导nice\\t公司氛围好\\t带薪年假\\t处女座公司\\t年度旅游     投着乐     本科   \n",
       "\n",
       "  experience          job                                           job_desc  \\\n",
       "0       1-3年  爬虫和页面分析提取专家  爬虫和页面分析提取研发专家7k-14k /杭州 / 经验3-5年 / 学历不限 / 全职职位...   \n",
       "\n",
       "  location      release_time  \\\n",
       "0       杭州  2019-02-20 01:44   \n",
       "\n",
       "                                        requirements      salary staff_num  \n",
       "0  :1. 本科以上 从事java开发2～5年以上；2. 熟悉linux开发环境\\t熟练使用sh...  7000-12000      0-20  "
      ]
     },
     "execution_count": 43,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "conn = pymongo.MongoClient(host='localhost', port=27017)\n",
    "db = conn.project \n",
    "collection = db.boss_zhipin\n",
    "data = collection.find()\n",
    "data = json_normalize([comment for comment in data])\n",
    "data.head(1)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 44,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "<class 'pandas.core.frame.DataFrame'>\n",
      "RangeIndex: 5267 entries, 0 to 5266\n",
      "Data columns (total 12 columns):\n",
      "_id             5267 non-null object\n",
      "bonus           5267 non-null object\n",
      "company         5267 non-null object\n",
      "degree          5267 non-null object\n",
      "experience      5267 non-null object\n",
      "job             5267 non-null object\n",
      "job_desc        5267 non-null object\n",
      "location        5267 non-null object\n",
      "release_time    5267 non-null object\n",
      "requirements    3331 non-null object\n",
      "salary          5267 non-null object\n",
      "staff_num       5267 non-null object\n",
      "dtypes: object(12)\n",
      "memory usage: 493.9+ KB\n"
     ]
    }
   ],
   "source": [
    "data.info()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 数据清洗  \n",
    "data = data.drop(columns='_id')\n",
    "data['release_time'] = pd.to_datetime(data['release_time'])\n",
    "data = data.drop(data[data['job'] == ''].index)\n",
    "data = data.fillna('')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 49,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "<class 'pandas.core.frame.DataFrame'>\n",
      "Int64Index: 4671 entries, 0 to 5266\n",
      "Data columns (total 11 columns):\n",
      "bonus           4671 non-null object\n",
      "company         4671 non-null object\n",
      "degree          4671 non-null object\n",
      "experience      4671 non-null object\n",
      "job             4671 non-null object\n",
      "job_desc        4671 non-null object\n",
      "location        4671 non-null object\n",
      "release_time    4671 non-null datetime64[ns]\n",
      "requirements    4671 non-null object\n",
      "salary          4671 non-null object\n",
      "staff_num       4671 non-null object\n",
      "dtypes: datetime64[ns](1), object(10)\n",
      "memory usage: 437.9+ KB\n"
     ]
    }
   ],
   "source": [
    "data.info()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 118,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "C:\\Users\\Voyager\\Anaconda3\\lib\\site-packages\\ipykernel_launcher.py:2: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame\n",
      "\n",
      "See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy\n",
      "  \n",
      "C:\\Users\\Voyager\\Anaconda3\\lib\\site-packages\\ipykernel_launcher.py:8: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame\n",
      "\n",
      "See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy\n",
      "  \n"
     ]
    },
    {
     "data": {
      "text/plain": [
       "2"
      ]
     },
     "execution_count": 118,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "title1 = data[data['job'].str.contains('爬虫')]['job'] \n",
    "title1.loc[title1.index] = '爬虫'\n",
    "# data['title'] = title1\n",
    "list(title1.index)\n",
    "title1.dropna()\n",
    "\n",
    "title2 = data[data['job'].str.contains('数据分析')]['job']\n",
    "title2.loc[title2.index] = '数据分析'\n",
    "# data['title'] = title2\n",
    "\n",
    "# title = data[data['job'].str.contains('数据挖掘')]['job']\n",
    "# title.loc[title.index] = '数据挖掘'\n",
    "# data['title'] = title"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 141,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "数据分析    1676\n",
       "其他      1321\n",
       "数据挖掘    1015\n",
       "爬虫       659\n",
       "Name: title, dtype: int64"
      ]
     },
     "execution_count": 141,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 职位名称规范化 \n",
    "indexs = list(data.index)\n",
    "jobs = list(data.job)\n",
    "titles = []\n",
    "for job in jobs:\n",
    "    if '爬虫' in job:\n",
    "        titles.append('爬虫')\n",
    "    elif '数据分析' in job:\n",
    "        titles.append('数据分析')\n",
    "    elif '数据挖掘' in job:\n",
    "        titles.append('数据挖掘')\n",
    "    else:\n",
    "        titles.append('其他')\n",
    "# dict(zip(jobs, titles))\n",
    "title = dict(zip(indexs, titles))\n",
    "title = pd.Series(title)\n",
    "data['title'] = title\n",
    "data['title'].value_counts()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 157,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>bonus</th>\n",
       "      <th>company</th>\n",
       "      <th>degree</th>\n",
       "      <th>experience</th>\n",
       "      <th>job</th>\n",
       "      <th>job_desc</th>\n",
       "      <th>location</th>\n",
       "      <th>release_time</th>\n",
       "      <th>requirements</th>\n",
       "      <th>salary</th>\n",
       "      <th>staff_num</th>\n",
       "      <th>title</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>股票期权\\t不打卡\\t扁平管理\\t领导nice\\t公司氛围好\\t带薪年假\\t处女座公司\\t年度旅游</td>\n",
       "      <td>投着乐</td>\n",
       "      <td>本科</td>\n",
       "      <td>1-3年</td>\n",
       "      <td>爬虫和页面分析提取专家</td>\n",
       "      <td>爬虫和页面分析提取研发专家7k-14k /杭州 / 经验3-5年 / 学历不限 / 全职职位...</td>\n",
       "      <td>杭州</td>\n",
       "      <td>2019-02-20 01:44:00</td>\n",
       "      <td>:1. 本科以上 从事java开发2～5年以上；2. 熟悉linux开发环境\\t熟练使用sh...</td>\n",
       "      <td>7000-12000</td>\n",
       "      <td>0-20</td>\n",
       "      <td>爬虫</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td></td>\n",
       "      <td>专家宝</td>\n",
       "      <td>本科</td>\n",
       "      <td>3-5年</td>\n",
       "      <td>大数据爬虫工程师</td>\n",
       "      <td>岗位职责：1、专注于垂直领域数据爬取\\t进行多平台信息的抓取和分析； 2、参与爬虫系统的架构...</td>\n",
       "      <td>杭州</td>\n",
       "      <td>2019-02-21 14:28:00</td>\n",
       "      <td>：1、熟悉TCP/IP、HTTP、HTTPS等网络协议\\t熟悉web前端\\t可读懂js/cs...</td>\n",
       "      <td>25000-50000</td>\n",
       "      <td>0</td>\n",
       "      <td>爬虫</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>大数据\\t机器学习\\t免费零食\\t公司氛围好\\t电子商务\\t不打卡</td>\n",
       "      <td>浙江云鉴数据科技</td>\n",
       "      <td>本科</td>\n",
       "      <td>1-3年</td>\n",
       "      <td>Python爬虫工程师(中级)</td>\n",
       "      <td>【职位描述】1、负责大数据平台/核心项目的数据采集；升级scarpy-redis队列2、参与...</td>\n",
       "      <td>杭州</td>\n",
       "      <td>2018-11-16 16:30:00</td>\n",
       "      <td>】1、3年以上工作经验\\t其中1年及以上实际的爬虫项目经验\\t本科以上学历\\t211或985...</td>\n",
       "      <td>15000-20000</td>\n",
       "      <td>20-99</td>\n",
       "      <td>爬虫</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                               bonus   company degree  \\\n",
       "0  股票期权\\t不打卡\\t扁平管理\\t领导nice\\t公司氛围好\\t带薪年假\\t处女座公司\\t年度旅游       投着乐     本科   \n",
       "1                                                          专家宝     本科   \n",
       "2                  大数据\\t机器学习\\t免费零食\\t公司氛围好\\t电子商务\\t不打卡  浙江云鉴数据科技     本科   \n",
       "\n",
       "  experience              job  \\\n",
       "0       1-3年      爬虫和页面分析提取专家   \n",
       "1       3-5年         大数据爬虫工程师   \n",
       "2       1-3年  Python爬虫工程师(中级)   \n",
       "\n",
       "                                            job_desc location  \\\n",
       "0  爬虫和页面分析提取研发专家7k-14k /杭州 / 经验3-5年 / 学历不限 / 全职职位...       杭州   \n",
       "1  岗位职责：1、专注于垂直领域数据爬取\\t进行多平台信息的抓取和分析； 2、参与爬虫系统的架构...       杭州   \n",
       "2  【职位描述】1、负责大数据平台/核心项目的数据采集；升级scarpy-redis队列2、参与...       杭州   \n",
       "\n",
       "         release_time                                       requirements  \\\n",
       "0 2019-02-20 01:44:00  :1. 本科以上 从事java开发2～5年以上；2. 熟悉linux开发环境\\t熟练使用sh...   \n",
       "1 2019-02-21 14:28:00  ：1、熟悉TCP/IP、HTTP、HTTPS等网络协议\\t熟悉web前端\\t可读懂js/cs...   \n",
       "2 2018-11-16 16:30:00  】1、3年以上工作经验\\t其中1年及以上实际的爬虫项目经验\\t本科以上学历\\t211或985...   \n",
       "\n",
       "        salary staff_num title  \n",
       "0   7000-12000      0-20    爬虫  \n",
       "1  25000-50000         0    爬虫  \n",
       "2  15000-20000     20-99    爬虫  "
      ]
     },
     "execution_count": 157,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "data.head(3)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "一、数据详情\n",
    "* 共有3350条职位数据关于（爬虫，数据分析，数据挖掘）\n",
    "* 包含的字段：福利，公司名，学历要求，工作经验，职位名称，职位描述，地点，发布时间，能力要求，薪水，员工人数，职位简称\n",
    "\n",
    "二、问题\n",
    "* 1.三种职位占比\n",
    "* 2.职位地区分布\n",
    "* 3.职位要求（学历，工作经验）\n",
    "* 4.薪水的地区分布及区间分布\n",
    "* 5.职位数与发布时间的关系 \n",
    "* 6.工作内容\n",
    "* 7.能力要求"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 155,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "3350"
      ]
     },
     "execution_count": 155,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "data['title'].count()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 159,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "数据分析    0.500299\n",
       "数据挖掘    0.302985\n",
       "爬虫      0.196716\n",
       "Name: title, dtype: float64"
      ]
     },
     "execution_count": 159,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "data = data.drop(data[data['title']=='其他'].index)\n",
    "percentage = data['title'].value_counts() / data['title'].count()\n",
    "percentage"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 183,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<script>\n",
       "    require.config({\n",
       "        paths: {\n",
       "            'echarts': '/nbextensions/echarts/echarts.min'\n",
       "        }\n",
       "    });\n",
       "</script>\n",
       "    <div id=\"04f813b3b27d445f83ddb432b4893fef\" style=\"width:800px;height:400px;\"></div>\n",
       "\n",
       "\n",
       "<script>\n",
       "    require(['echarts'], function(echarts) {\n",
       "        \n",
       "var myChart_04f813b3b27d445f83ddb432b4893fef = echarts.init(document.getElementById('04f813b3b27d445f83ddb432b4893fef'), 'light', {renderer: 'canvas'});\n",
       "\n",
       "var option_04f813b3b27d445f83ddb432b4893fef = {\n",
       "    \"title\": [\n",
       "        {\n",
       "            \"text\": \"\\u804c\\u4f4d\\u767e\\u5206\\u6bd4\",\n",
       "            \"left\": \"auto\",\n",
       "            \"top\": \"auto\",\n",
       "            \"textStyle\": {\n",
       "                \"fontSize\": 18\n",
       "            },\n",
       "            \"subtextStyle\": {\n",
       "                \"fontSize\": 12\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"toolbox\": {\n",
       "        \"show\": true,\n",
       "        \"orient\": \"vertical\",\n",
       "        \"left\": \"95%\",\n",
       "        \"top\": \"center\",\n",
       "        \"feature\": {\n",
       "            \"saveAsImage\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"save as image\"\n",
       "            },\n",
       "            \"restore\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"restore\"\n",
       "            },\n",
       "            \"dataView\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"data view\"\n",
       "            }\n",
       "        }\n",
       "    },\n",
       "    \"series_id\": 8863816,\n",
       "    \"tooltip\": {\n",
       "        \"trigger\": \"item\",\n",
       "        \"triggerOn\": \"mousemove|click\",\n",
       "        \"axisPointer\": {\n",
       "            \"type\": \"line\"\n",
       "        },\n",
       "        \"textStyle\": {\n",
       "            \"fontSize\": 14\n",
       "        },\n",
       "        \"backgroundColor\": \"rgba(50,50,50,0.7)\",\n",
       "        \"borderColor\": \"#333\",\n",
       "        \"borderWidth\": 0\n",
       "    },\n",
       "    \"series\": [\n",
       "        {\n",
       "            \"type\": \"pie\",\n",
       "            \"data\": [\n",
       "                {\n",
       "                    \"name\": \"\\u6570\\u636e\\u5206\\u6790\",\n",
       "                    \"value\": 1676.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6570\\u636e\\u6316\\u6398\",\n",
       "                    \"value\": 1015.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u722c\\u866b\",\n",
       "                    \"value\": 659.0\n",
       "                }\n",
       "            ],\n",
       "            \"radius\": [\n",
       "                \"40%\",\n",
       "                \"75%\"\n",
       "            ],\n",
       "            \"center\": [\n",
       "                \"50%\",\n",
       "                \"50%\"\n",
       "            ],\n",
       "            \"label\": {\n",
       "                \"normal\": {\n",
       "                    \"show\": true,\n",
       "                    \"position\": \"outside\",\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    },\n",
       "                    \"formatter\": \"{b}: {d}%\"\n",
       "                },\n",
       "                \"emphasis\": {\n",
       "                    \"show\": true,\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    },\n",
       "                    \"formatter\": \"{b}: {d}%\"\n",
       "                }\n",
       "            },\n",
       "            \"seriesId\": 8863816\n",
       "        }\n",
       "    ],\n",
       "    \"legend\": [\n",
       "        {\n",
       "            \"data\": [\n",
       "                \"\\u6570\\u636e\\u5206\\u6790\",\n",
       "                \"\\u6570\\u636e\\u6316\\u6398\",\n",
       "                \"\\u722c\\u866b\"\n",
       "            ],\n",
       "            \"selectedMode\": \"multiple\",\n",
       "            \"show\": true,\n",
       "            \"left\": \"center\",\n",
       "            \"top\": \"top\",\n",
       "            \"orient\": \"horizontal\",\n",
       "            \"textStyle\": {\n",
       "                \"fontSize\": 12\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"animation\": true,\n",
       "    \"color\": [\n",
       "        \"#c23531\",\n",
       "        \"#2f4554\",\n",
       "        \"#61a0a8\",\n",
       "        \"#d48265\",\n",
       "        \"#749f83\",\n",
       "        \"#ca8622\",\n",
       "        \"#bda29a\",\n",
       "        \"#6e7074\",\n",
       "        \"#546570\",\n",
       "        \"#c4ccd3\",\n",
       "        \"#f05b72\",\n",
       "        \"#ef5b9c\",\n",
       "        \"#f47920\",\n",
       "        \"#905a3d\",\n",
       "        \"#fab27b\",\n",
       "        \"#2a5caa\",\n",
       "        \"#444693\",\n",
       "        \"#726930\",\n",
       "        \"#b2d235\",\n",
       "        \"#6d8346\",\n",
       "        \"#ac6767\",\n",
       "        \"#1d953f\",\n",
       "        \"#6950a1\",\n",
       "        \"#918597\",\n",
       "        \"#f6f5ec\"\n",
       "    ]\n",
       "};\n",
       "myChart_04f813b3b27d445f83ddb432b4893fef.setOption(option_04f813b3b27d445f83ddb432b4893fef);\n",
       "\n",
       "    });\n",
       "</script>\n"
      ],
      "text/plain": [
       "<pyecharts.charts.pie.Pie at 0x292c6662f28>"
      ]
     },
     "execution_count": 183,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "from pyecharts import Pie \n",
    "\n",
    "indexes = list(data['title'].value_counts().index)\n",
    "values = list(data['title'].value_counts().values)\n",
    "pie = Pie('职位百分比')\n",
    "pie.add('', indexes, values, radius=[40, 75], is_label_show=True)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 2.职位地区分布"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 185,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>bonus</th>\n",
       "      <th>company</th>\n",
       "      <th>degree</th>\n",
       "      <th>experience</th>\n",
       "      <th>job</th>\n",
       "      <th>job_desc</th>\n",
       "      <th>location</th>\n",
       "      <th>release_time</th>\n",
       "      <th>requirements</th>\n",
       "      <th>salary</th>\n",
       "      <th>staff_num</th>\n",
       "      <th>title</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>股票期权\\t不打卡\\t扁平管理\\t领导nice\\t公司氛围好\\t带薪年假\\t处女座公司\\t年度旅游</td>\n",
       "      <td>投着乐</td>\n",
       "      <td>本科</td>\n",
       "      <td>1-3年</td>\n",
       "      <td>爬虫和页面分析提取专家</td>\n",
       "      <td>爬虫和页面分析提取研发专家7k-14k /杭州 / 经验3-5年 / 学历不限 / 全职职位...</td>\n",
       "      <td>杭州</td>\n",
       "      <td>2019-02-20 01:44:00</td>\n",
       "      <td>:1. 本科以上 从事java开发2～5年以上；2. 熟悉linux开发环境\\t熟练使用sh...</td>\n",
       "      <td>7000-12000</td>\n",
       "      <td>0-20</td>\n",
       "      <td>爬虫</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                               bonus company degree  \\\n",
       "0  股票期权\\t不打卡\\t扁平管理\\t领导nice\\t公司氛围好\\t带薪年假\\t处女座公司\\t年度旅游     投着乐     本科   \n",
       "\n",
       "  experience          job                                           job_desc  \\\n",
       "0       1-3年  爬虫和页面分析提取专家  爬虫和页面分析提取研发专家7k-14k /杭州 / 经验3-5年 / 学历不限 / 全职职位...   \n",
       "\n",
       "  location        release_time  \\\n",
       "0       杭州 2019-02-20 01:44:00   \n",
       "\n",
       "                                        requirements      salary staff_num  \\\n",
       "0  :1. 本科以上 从事java开发2～5年以上；2. 熟悉linux开发环境\\t熟练使用sh...  7000-12000      0-20   \n",
       "\n",
       "  title  \n",
       "0    爬虫  "
      ]
     },
     "execution_count": 185,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "data.head(1)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 192,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<script>\n",
       "    require.config({\n",
       "        paths: {\n",
       "            'echarts': '/nbextensions/echarts/echarts.min'\n",
       "        }\n",
       "    });\n",
       "</script>\n",
       "    <div id=\"9f8a1efbdb4e46328574e6dcdce6952f\" style=\"width:800px;height:400px;\"></div>\n",
       "\n",
       "\n",
       "<script>\n",
       "    require(['echarts'], function(echarts) {\n",
       "        \n",
       "var myChart_9f8a1efbdb4e46328574e6dcdce6952f = echarts.init(document.getElementById('9f8a1efbdb4e46328574e6dcdce6952f'), 'light', {renderer: 'canvas'});\n",
       "\n",
       "var option_9f8a1efbdb4e46328574e6dcdce6952f = {\n",
       "    \"title\": [\n",
       "        {\n",
       "            \"text\": \"\\u804c\\u4f4d\\u5730\\u533a\\u5206\\u5e03\",\n",
       "            \"left\": \"auto\",\n",
       "            \"top\": \"auto\",\n",
       "            \"textStyle\": {\n",
       "                \"fontSize\": 18\n",
       "            },\n",
       "            \"subtextStyle\": {\n",
       "                \"fontSize\": 12\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"toolbox\": {\n",
       "        \"show\": true,\n",
       "        \"orient\": \"vertical\",\n",
       "        \"left\": \"95%\",\n",
       "        \"top\": \"center\",\n",
       "        \"feature\": {\n",
       "            \"saveAsImage\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"save as image\"\n",
       "            },\n",
       "            \"restore\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"restore\"\n",
       "            },\n",
       "            \"dataView\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"data view\"\n",
       "            }\n",
       "        }\n",
       "    },\n",
       "    \"series_id\": 2464245,\n",
       "    \"tooltip\": {\n",
       "        \"trigger\": \"item\",\n",
       "        \"triggerOn\": \"mousemove|click\",\n",
       "        \"axisPointer\": {\n",
       "            \"type\": \"line\"\n",
       "        },\n",
       "        \"textStyle\": {\n",
       "            \"fontSize\": 14\n",
       "        },\n",
       "        \"backgroundColor\": \"rgba(50,50,50,0.7)\",\n",
       "        \"borderColor\": \"#333\",\n",
       "        \"borderWidth\": 0\n",
       "    },\n",
       "    \"series\": [\n",
       "        {\n",
       "            \"type\": \"bar\",\n",
       "            \"data\": [\n",
       "                753.0,\n",
       "                629.0,\n",
       "                574.0,\n",
       "                516.0,\n",
       "                211.0,\n",
       "                170.0,\n",
       "                147.0,\n",
       "                131.0,\n",
       "                129.0,\n",
       "                90.0\n",
       "            ],\n",
       "            \"stack\": \"stack_2464245\",\n",
       "            \"barCategoryGap\": \"40%\",\n",
       "            \"label\": {\n",
       "                \"normal\": {\n",
       "                    \"show\": true,\n",
       "                    \"position\": \"top\",\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    }\n",
       "                },\n",
       "                \"emphasis\": {\n",
       "                    \"show\": true,\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    }\n",
       "                }\n",
       "            },\n",
       "            \"markPoint\": {\n",
       "                \"data\": []\n",
       "            },\n",
       "            \"markLine\": {\n",
       "                \"data\": []\n",
       "            },\n",
       "            \"seriesId\": 2464245\n",
       "        }\n",
       "    ],\n",
       "    \"legend\": [\n",
       "        {\n",
       "            \"data\": [\n",
       "                \"\"\n",
       "            ],\n",
       "            \"selectedMode\": \"multiple\",\n",
       "            \"show\": true,\n",
       "            \"left\": \"center\",\n",
       "            \"top\": \"top\",\n",
       "            \"orient\": \"horizontal\",\n",
       "            \"textStyle\": {\n",
       "                \"fontSize\": 12\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"animation\": true,\n",
       "    \"xAxis\": [\n",
       "        {\n",
       "            \"show\": true,\n",
       "            \"nameLocation\": \"middle\",\n",
       "            \"nameGap\": 25,\n",
       "            \"nameTextStyle\": {\n",
       "                \"fontSize\": 14\n",
       "            },\n",
       "            \"axisTick\": {\n",
       "                \"alignWithLabel\": false\n",
       "            },\n",
       "            \"inverse\": false,\n",
       "            \"boundaryGap\": true,\n",
       "            \"type\": \"category\",\n",
       "            \"splitLine\": {\n",
       "                \"show\": false\n",
       "            },\n",
       "            \"axisLine\": {\n",
       "                \"lineStyle\": {\n",
       "                    \"width\": 1\n",
       "                }\n",
       "            },\n",
       "            \"axisLabel\": {\n",
       "                \"interval\": \"auto\",\n",
       "                \"rotate\": 0,\n",
       "                \"margin\": 8,\n",
       "                \"textStyle\": {\n",
       "                    \"fontSize\": 12\n",
       "                }\n",
       "            },\n",
       "            \"data\": [\n",
       "                \"\\u5317\\u4eac\",\n",
       "                \"\\u4e0a\\u6d77\",\n",
       "                \"\\u676d\\u5dde\",\n",
       "                \"\\u6df1\\u5733\",\n",
       "                \"\\u6210\\u90fd\",\n",
       "                \"\\u6b66\\u6c49\",\n",
       "                \"\\u53a6\\u95e8\",\n",
       "                \"\\u82cf\\u5dde\",\n",
       "                \"\\u957f\\u6c99\",\n",
       "                \"\\u897f\\u5b89\"\n",
       "            ]\n",
       "        }\n",
       "    ],\n",
       "    \"yAxis\": [\n",
       "        {\n",
       "            \"show\": true,\n",
       "            \"nameLocation\": \"middle\",\n",
       "            \"nameGap\": 25,\n",
       "            \"nameTextStyle\": {\n",
       "                \"fontSize\": 14\n",
       "            },\n",
       "            \"axisTick\": {\n",
       "                \"alignWithLabel\": false\n",
       "            },\n",
       "            \"inverse\": false,\n",
       "            \"boundaryGap\": true,\n",
       "            \"type\": \"value\",\n",
       "            \"splitLine\": {\n",
       "                \"show\": true\n",
       "            },\n",
       "            \"axisLine\": {\n",
       "                \"lineStyle\": {\n",
       "                    \"width\": 1\n",
       "                }\n",
       "            },\n",
       "            \"axisLabel\": {\n",
       "                \"interval\": \"auto\",\n",
       "                \"formatter\": \"{value} \",\n",
       "                \"rotate\": 0,\n",
       "                \"margin\": 8,\n",
       "                \"textStyle\": {\n",
       "                    \"fontSize\": 12\n",
       "                }\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"color\": [\n",
       "        \"#130f40\",\n",
       "        \"#c23531\",\n",
       "        \"#2f4554\",\n",
       "        \"#61a0a8\",\n",
       "        \"#d48265\",\n",
       "        \"#749f83\",\n",
       "        \"#ca8622\",\n",
       "        \"#bda29a\",\n",
       "        \"#6e7074\",\n",
       "        \"#546570\",\n",
       "        \"#c4ccd3\",\n",
       "        \"#f05b72\",\n",
       "        \"#ef5b9c\",\n",
       "        \"#f47920\",\n",
       "        \"#905a3d\",\n",
       "        \"#fab27b\",\n",
       "        \"#2a5caa\",\n",
       "        \"#444693\",\n",
       "        \"#726930\",\n",
       "        \"#b2d235\",\n",
       "        \"#6d8346\",\n",
       "        \"#ac6767\",\n",
       "        \"#1d953f\",\n",
       "        \"#6950a1\",\n",
       "        \"#918597\",\n",
       "        \"#f6f5ec\"\n",
       "    ]\n",
       "};\n",
       "myChart_9f8a1efbdb4e46328574e6dcdce6952f.setOption(option_9f8a1efbdb4e46328574e6dcdce6952f);\n",
       "\n",
       "    });\n",
       "</script>\n"
      ],
      "text/plain": [
       "<pyecharts.charts.bar.Bar at 0x292c729af60>"
      ]
     },
     "execution_count": 192,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "from pyecharts import Bar\n",
    "\n",
    "job_count_by_location = data['location'].value_counts()\n",
    "bar = Bar('职位地区分布')\n",
    "bar.add('', list(job_count_by_location.index), list(job_count_by_location.values), is_stack=True, is_label_show=True, \n",
    "       bar_category_gap='40%', label_color=['#130f40'])\n",
    "bar"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 239,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<script>\n",
       "    require.config({\n",
       "        paths: {\n",
       "            'echarts': '/nbextensions/echarts/echarts.min'\n",
       "        }\n",
       "    });\n",
       "</script>\n",
       "    <div id=\"f3143519893740c898db7e95a6d10f78\" style=\"width:800px;height:400px;\"></div>\n",
       "\n",
       "\n",
       "<script>\n",
       "    require(['echarts'], function(echarts) {\n",
       "        \n",
       "var myChart_f3143519893740c898db7e95a6d10f78 = echarts.init(document.getElementById('f3143519893740c898db7e95a6d10f78'), 'light', {renderer: 'canvas'});\n",
       "\n",
       "var option_f3143519893740c898db7e95a6d10f78 = {\n",
       "    \"title\": [\n",
       "        {\n",
       "            \"text\": \"\\u4e0d\\u540c\\u5730\\u533a\\u804c\\u4f4d\\u5360\\u6bd4\",\n",
       "            \"left\": \"auto\",\n",
       "            \"top\": \"auto\",\n",
       "            \"textStyle\": {\n",
       "                \"fontSize\": 18\n",
       "            },\n",
       "            \"subtextStyle\": {\n",
       "                \"fontSize\": 12\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"toolbox\": {\n",
       "        \"show\": true,\n",
       "        \"orient\": \"vertical\",\n",
       "        \"left\": \"95%\",\n",
       "        \"top\": \"center\",\n",
       "        \"feature\": {\n",
       "            \"saveAsImage\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"save as image\"\n",
       "            },\n",
       "            \"restore\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"restore\"\n",
       "            },\n",
       "            \"dataView\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"data view\"\n",
       "            }\n",
       "        }\n",
       "    },\n",
       "    \"series_id\": 4946826,\n",
       "    \"tooltip\": {\n",
       "        \"trigger\": \"item\",\n",
       "        \"triggerOn\": \"mousemove|click\",\n",
       "        \"axisPointer\": {\n",
       "            \"type\": \"line\"\n",
       "        },\n",
       "        \"textStyle\": {\n",
       "            \"fontSize\": 14\n",
       "        },\n",
       "        \"backgroundColor\": \"rgba(50,50,50,0.7)\",\n",
       "        \"borderColor\": \"#333\",\n",
       "        \"borderWidth\": 0\n",
       "    },\n",
       "    \"series\": [\n",
       "        {\n",
       "            \"type\": \"bar\",\n",
       "            \"name\": \"\\u5317\\u4eac\",\n",
       "            \"data\": [\n",
       "                274.0,\n",
       "                252.0,\n",
       "                227.0\n",
       "            ],\n",
       "            \"barCategoryGap\": \"20%\",\n",
       "            \"label\": {\n",
       "                \"normal\": {\n",
       "                    \"show\": false,\n",
       "                    \"position\": \"top\",\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    }\n",
       "                },\n",
       "                \"emphasis\": {\n",
       "                    \"show\": true,\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    }\n",
       "                }\n",
       "            },\n",
       "            \"markPoint\": {\n",
       "                \"data\": []\n",
       "            },\n",
       "            \"markLine\": {\n",
       "                \"data\": []\n",
       "            },\n",
       "            \"seriesId\": 4946826\n",
       "        },\n",
       "        {\n",
       "            \"type\": \"bar\",\n",
       "            \"name\": \"\\u4e0a\\u6d77\",\n",
       "            \"data\": [\n",
       "                272.0,\n",
       "                231.0,\n",
       "                126.0\n",
       "            ],\n",
       "            \"barCategoryGap\": \"20%\",\n",
       "            \"label\": {\n",
       "                \"normal\": {\n",
       "                    \"show\": false,\n",
       "                    \"position\": \"top\",\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    }\n",
       "                },\n",
       "                \"emphasis\": {\n",
       "                    \"show\": true,\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    }\n",
       "                }\n",
       "            },\n",
       "            \"markPoint\": {\n",
       "                \"data\": []\n",
       "            },\n",
       "            \"markLine\": {\n",
       "                \"data\": []\n",
       "            },\n",
       "            \"seriesId\": 4946826\n",
       "        },\n",
       "        {\n",
       "            \"type\": \"bar\",\n",
       "            \"name\": \"\\u676d\\u5dde\",\n",
       "            \"data\": [\n",
       "                260.0,\n",
       "                207.0,\n",
       "                107.0\n",
       "            ],\n",
       "            \"barCategoryGap\": \"20%\",\n",
       "            \"label\": {\n",
       "                \"normal\": {\n",
       "                    \"show\": false,\n",
       "                    \"position\": \"top\",\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    }\n",
       "                },\n",
       "                \"emphasis\": {\n",
       "                    \"show\": true,\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    }\n",
       "                }\n",
       "            },\n",
       "            \"markPoint\": {\n",
       "                \"data\": []\n",
       "            },\n",
       "            \"markLine\": {\n",
       "                \"data\": []\n",
       "            },\n",
       "            \"seriesId\": 4946826\n",
       "        },\n",
       "        {\n",
       "            \"type\": \"bar\",\n",
       "            \"name\": \"\\u6df1\\u5733\",\n",
       "            \"data\": [\n",
       "                270.0,\n",
       "                170.0,\n",
       "                76.0\n",
       "            ],\n",
       "            \"barCategoryGap\": \"20%\",\n",
       "            \"label\": {\n",
       "                \"normal\": {\n",
       "                    \"show\": false,\n",
       "                    \"position\": \"top\",\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    }\n",
       "                },\n",
       "                \"emphasis\": {\n",
       "                    \"show\": true,\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    }\n",
       "                }\n",
       "            },\n",
       "            \"markPoint\": {\n",
       "                \"data\": []\n",
       "            },\n",
       "            \"markLine\": {\n",
       "                \"data\": []\n",
       "            },\n",
       "            \"seriesId\": 4946826\n",
       "        },\n",
       "        {\n",
       "            \"type\": \"bar\",\n",
       "            \"name\": \"\\u6210\\u90fd\",\n",
       "            \"data\": [\n",
       "                126.0,\n",
       "                50.0,\n",
       "                35.0\n",
       "            ],\n",
       "            \"barCategoryGap\": \"20%\",\n",
       "            \"label\": {\n",
       "                \"normal\": {\n",
       "                    \"show\": false,\n",
       "                    \"position\": \"top\",\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    }\n",
       "                },\n",
       "                \"emphasis\": {\n",
       "                    \"show\": true,\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    }\n",
       "                }\n",
       "            },\n",
       "            \"markPoint\": {\n",
       "                \"data\": []\n",
       "            },\n",
       "            \"markLine\": {\n",
       "                \"data\": []\n",
       "            },\n",
       "            \"seriesId\": 4946826\n",
       "        },\n",
       "        {\n",
       "            \"type\": \"bar\",\n",
       "            \"name\": \"\\u6b66\\u6c49\",\n",
       "            \"data\": [\n",
       "                109.0,\n",
       "                32.0,\n",
       "                29.0\n",
       "            ],\n",
       "            \"barCategoryGap\": \"20%\",\n",
       "            \"label\": {\n",
       "                \"normal\": {\n",
       "                    \"show\": false,\n",
       "                    \"position\": \"top\",\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    }\n",
       "                },\n",
       "                \"emphasis\": {\n",
       "                    \"show\": true,\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    }\n",
       "                }\n",
       "            },\n",
       "            \"markPoint\": {\n",
       "                \"data\": []\n",
       "            },\n",
       "            \"markLine\": {\n",
       "                \"data\": []\n",
       "            },\n",
       "            \"seriesId\": 4946826\n",
       "        },\n",
       "        {\n",
       "            \"type\": \"bar\",\n",
       "            \"name\": \"\\u53a6\\u95e8\",\n",
       "            \"data\": [\n",
       "                99.0,\n",
       "                26.0,\n",
       "                22.0\n",
       "            ],\n",
       "            \"barCategoryGap\": \"20%\",\n",
       "            \"label\": {\n",
       "                \"normal\": {\n",
       "                    \"show\": false,\n",
       "                    \"position\": \"top\",\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    }\n",
       "                },\n",
       "                \"emphasis\": {\n",
       "                    \"show\": true,\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    }\n",
       "                }\n",
       "            },\n",
       "            \"markPoint\": {\n",
       "                \"data\": []\n",
       "            },\n",
       "            \"markLine\": {\n",
       "                \"data\": []\n",
       "            },\n",
       "            \"seriesId\": 4946826\n",
       "        },\n",
       "        {\n",
       "            \"type\": \"bar\",\n",
       "            \"name\": \"\\u82cf\\u5dde\",\n",
       "            \"data\": [\n",
       "                102.0,\n",
       "                19.0,\n",
       "                10.0\n",
       "            ],\n",
       "            \"barCategoryGap\": \"20%\",\n",
       "            \"label\": {\n",
       "                \"normal\": {\n",
       "                    \"show\": false,\n",
       "                    \"position\": \"top\",\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    }\n",
       "                },\n",
       "                \"emphasis\": {\n",
       "                    \"show\": true,\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    }\n",
       "                }\n",
       "            },\n",
       "            \"markPoint\": {\n",
       "                \"data\": []\n",
       "            },\n",
       "            \"markLine\": {\n",
       "                \"data\": []\n",
       "            },\n",
       "            \"seriesId\": 4946826\n",
       "        },\n",
       "        {\n",
       "            \"type\": \"bar\",\n",
       "            \"name\": \"\\u957f\\u6c99\",\n",
       "            \"data\": [\n",
       "                93.0,\n",
       "                21.0,\n",
       "                15.0\n",
       "            ],\n",
       "            \"barCategoryGap\": \"20%\",\n",
       "            \"label\": {\n",
       "                \"normal\": {\n",
       "                    \"show\": false,\n",
       "                    \"position\": \"top\",\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    }\n",
       "                },\n",
       "                \"emphasis\": {\n",
       "                    \"show\": true,\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    }\n",
       "                }\n",
       "            },\n",
       "            \"markPoint\": {\n",
       "                \"data\": []\n",
       "            },\n",
       "            \"markLine\": {\n",
       "                \"data\": []\n",
       "            },\n",
       "            \"seriesId\": 4946826\n",
       "        },\n",
       "        {\n",
       "            \"type\": \"bar\",\n",
       "            \"name\": \"\\u897f\\u5b89\",\n",
       "            \"data\": [\n",
       "                71.0,\n",
       "                11.0,\n",
       "                8.0\n",
       "            ],\n",
       "            \"barCategoryGap\": \"20%\",\n",
       "            \"label\": {\n",
       "                \"normal\": {\n",
       "                    \"show\": false,\n",
       "                    \"position\": \"top\",\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    }\n",
       "                },\n",
       "                \"emphasis\": {\n",
       "                    \"show\": true,\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    }\n",
       "                }\n",
       "            },\n",
       "            \"markPoint\": {\n",
       "                \"data\": []\n",
       "            },\n",
       "            \"markLine\": {\n",
       "                \"data\": []\n",
       "            },\n",
       "            \"seriesId\": 4946826\n",
       "        }\n",
       "    ],\n",
       "    \"legend\": [\n",
       "        {\n",
       "            \"data\": [\n",
       "                \"\\u5317\\u4eac\",\n",
       "                \"\\u4e0a\\u6d77\",\n",
       "                \"\\u676d\\u5dde\",\n",
       "                \"\\u6df1\\u5733\",\n",
       "                \"\\u6210\\u90fd\",\n",
       "                \"\\u6b66\\u6c49\",\n",
       "                \"\\u53a6\\u95e8\",\n",
       "                \"\\u82cf\\u5dde\",\n",
       "                \"\\u957f\\u6c99\",\n",
       "                \"\\u897f\\u5b89\"\n",
       "            ],\n",
       "            \"selectedMode\": \"multiple\",\n",
       "            \"show\": true,\n",
       "            \"left\": \"center\",\n",
       "            \"top\": \"top\",\n",
       "            \"orient\": \"horizontal\",\n",
       "            \"textStyle\": {\n",
       "                \"fontSize\": 12\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"animation\": true,\n",
       "    \"xAxis\": [\n",
       "        {\n",
       "            \"show\": true,\n",
       "            \"nameLocation\": \"middle\",\n",
       "            \"nameGap\": 25,\n",
       "            \"nameTextStyle\": {\n",
       "                \"fontSize\": 14\n",
       "            },\n",
       "            \"axisTick\": {\n",
       "                \"alignWithLabel\": false\n",
       "            },\n",
       "            \"inverse\": false,\n",
       "            \"boundaryGap\": true,\n",
       "            \"type\": \"category\",\n",
       "            \"splitLine\": {\n",
       "                \"show\": false\n",
       "            },\n",
       "            \"axisLine\": {\n",
       "                \"lineStyle\": {\n",
       "                    \"width\": 1\n",
       "                }\n",
       "            },\n",
       "            \"axisLabel\": {\n",
       "                \"interval\": \"auto\",\n",
       "                \"rotate\": 0,\n",
       "                \"margin\": 8,\n",
       "                \"textStyle\": {\n",
       "                    \"fontSize\": 12\n",
       "                }\n",
       "            },\n",
       "            \"data\": [\n",
       "                \"\\u6570\\u636e\\u5206\\u6790\",\n",
       "                \"\\u6570\\u636e\\u6316\\u6398\",\n",
       "                \"\\u722c\\u866b\"\n",
       "            ]\n",
       "        }\n",
       "    ],\n",
       "    \"yAxis\": [\n",
       "        {\n",
       "            \"show\": true,\n",
       "            \"nameLocation\": \"middle\",\n",
       "            \"nameGap\": 25,\n",
       "            \"nameTextStyle\": {\n",
       "                \"fontSize\": 14\n",
       "            },\n",
       "            \"axisTick\": {\n",
       "                \"alignWithLabel\": false\n",
       "            },\n",
       "            \"inverse\": false,\n",
       "            \"boundaryGap\": true,\n",
       "            \"type\": \"value\",\n",
       "            \"splitLine\": {\n",
       "                \"show\": true\n",
       "            },\n",
       "            \"axisLine\": {\n",
       "                \"lineStyle\": {\n",
       "                    \"width\": 1\n",
       "                }\n",
       "            },\n",
       "            \"axisLabel\": {\n",
       "                \"interval\": \"auto\",\n",
       "                \"formatter\": \"{value} \",\n",
       "                \"rotate\": 0,\n",
       "                \"margin\": 8,\n",
       "                \"textStyle\": {\n",
       "                    \"fontSize\": 12\n",
       "                }\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"color\": [\n",
       "        \"#c23531\",\n",
       "        \"#2f4554\",\n",
       "        \"#61a0a8\",\n",
       "        \"#d48265\",\n",
       "        \"#749f83\",\n",
       "        \"#ca8622\",\n",
       "        \"#bda29a\",\n",
       "        \"#6e7074\",\n",
       "        \"#546570\",\n",
       "        \"#c4ccd3\",\n",
       "        \"#f05b72\",\n",
       "        \"#ef5b9c\",\n",
       "        \"#f47920\",\n",
       "        \"#905a3d\",\n",
       "        \"#fab27b\",\n",
       "        \"#2a5caa\",\n",
       "        \"#444693\",\n",
       "        \"#726930\",\n",
       "        \"#b2d235\",\n",
       "        \"#6d8346\",\n",
       "        \"#ac6767\",\n",
       "        \"#1d953f\",\n",
       "        \"#6950a1\",\n",
       "        \"#918597\",\n",
       "        \"#f6f5ec\"\n",
       "    ]\n",
       "};\n",
       "myChart_f3143519893740c898db7e95a6d10f78.setOption(option_f3143519893740c898db7e95a6d10f78);\n",
       "\n",
       "    });\n",
       "</script>\n"
      ],
      "text/plain": [
       "<pyecharts.charts.bar.Bar at 0x292c72ac5f8>"
      ]
     },
     "execution_count": 239,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 不同地区职位占比 \n",
    "beijing = data[data['location']=='北京']['title'].value_counts()\n",
    "# beijing\n",
    "attr = list(beijing.index)\n",
    "v = list(beijing.values)\n",
    "# shanghai\n",
    "shanghai = data[data['location']=='上海']['title'].value_counts()\n",
    "attr1 = list(shanghai.index)\n",
    "v1 = list(shanghai.values)\n",
    "# hangzhou\n",
    "hangzhou = data[data['location']=='杭州']['title'].value_counts()\n",
    "attr2 = list(hangzhou.index)\n",
    "v2 = list(hangzhou.values)\n",
    "# shenzhen\n",
    "shenzhen = data[data['location']=='深圳']['title'].value_counts()\n",
    "attr3 = list(shenzhen.index)\n",
    "v3 = list(shenzhen.values)\n",
    "# chengdu\n",
    "chengdu = data[data['location']=='成都']['title'].value_counts()\n",
    "attr4 = list(chengdu.index)\n",
    "v4 = list(chengdu.values)\n",
    "# wuhan\n",
    "wuhan = data[data['location']=='武汉']['title'].value_counts()\n",
    "attr5 = list(wuhan.index)\n",
    "v5 = list(wuhan.values)\n",
    "# xiamen\n",
    "xiamen = data[data['location']=='厦门']['title'].value_counts()\n",
    "attr6 = list(xiamen.index)\n",
    "v6 = list(xiamen.values)\n",
    "# suzhou\n",
    "suzhou = data[data['location']=='苏州']['title'].value_counts()\n",
    "attr7 = list(suzhou.index)\n",
    "v7 = list(suzhou.values)\n",
    "# changshao\n",
    "changsha = data[data['location']=='长沙']['title'].value_counts()\n",
    "attr8 = list(changsha.index)\n",
    "v8 = list(changsha.values)\n",
    "# xian\n",
    "xian = data[data['location']=='西安']['title'].value_counts()\n",
    "attr9 = list(xian.index)\n",
    "v9 = list(xian.values)\n",
    "\n",
    "bar = Bar('不同地区职位占比', title_pos='auto')\n",
    "bar.add('北京', attr, v)\n",
    "bar.add('上海', attr, v1)\n",
    "bar.add('杭州', attr, v2)\n",
    "bar.add('深圳', attr, v3)\n",
    "bar.add('成都', attr, v4)\n",
    "bar.add('武汉', attr, v5)\n",
    "bar.add('厦门', attr, v6)\n",
    "bar.add('苏州', attr, v7)\n",
    "bar.add('长沙', attr, v8)\n",
    "bar.add('西安', attr, v9)\n",
    "\n",
    "bar"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 3. 职位要求"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 259,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<script>\n",
       "    require.config({\n",
       "        paths: {\n",
       "            'echarts': '/nbextensions/echarts/echarts.min'\n",
       "        }\n",
       "    });\n",
       "</script>\n",
       "    <div id=\"6cb01f1277394da1940f21f350469b36\" style=\"width:800px;height:400px;\"></div>\n",
       "\n",
       "\n",
       "<script>\n",
       "    require(['echarts'], function(echarts) {\n",
       "        \n",
       "var myChart_6cb01f1277394da1940f21f350469b36 = echarts.init(document.getElementById('6cb01f1277394da1940f21f350469b36'), 'light', {renderer: 'canvas'});\n",
       "\n",
       "var option_6cb01f1277394da1940f21f350469b36 = {\n",
       "    \"title\": [\n",
       "        {\n",
       "            \"text\": \"\\u5b66\\u5386\\u8981\\u6c42\",\n",
       "            \"left\": \"auto\",\n",
       "            \"top\": \"auto\",\n",
       "            \"textStyle\": {\n",
       "                \"fontSize\": 18\n",
       "            },\n",
       "            \"subtextStyle\": {\n",
       "                \"fontSize\": 12\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"toolbox\": {\n",
       "        \"show\": true,\n",
       "        \"orient\": \"vertical\",\n",
       "        \"left\": \"95%\",\n",
       "        \"top\": \"center\",\n",
       "        \"feature\": {\n",
       "            \"saveAsImage\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"save as image\"\n",
       "            },\n",
       "            \"restore\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"restore\"\n",
       "            },\n",
       "            \"dataView\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"data view\"\n",
       "            }\n",
       "        }\n",
       "    },\n",
       "    \"series_id\": 2094048,\n",
       "    \"tooltip\": {\n",
       "        \"trigger\": \"item\",\n",
       "        \"triggerOn\": \"mousemove|click\",\n",
       "        \"axisPointer\": {\n",
       "            \"type\": \"line\"\n",
       "        },\n",
       "        \"textStyle\": {\n",
       "            \"fontSize\": 14\n",
       "        },\n",
       "        \"backgroundColor\": \"rgba(50,50,50,0.7)\",\n",
       "        \"borderColor\": \"#333\",\n",
       "        \"borderWidth\": 0\n",
       "    },\n",
       "    \"series\": [\n",
       "        {\n",
       "            \"type\": \"pie\",\n",
       "            \"data\": [\n",
       "                {\n",
       "                    \"name\": \"\\u672c\\u79d1\",\n",
       "                    \"value\": 2469.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5927\\u4e13\",\n",
       "                    \"value\": 424.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7855\\u58eb\",\n",
       "                    \"value\": 313.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4e0d\\u9650\",\n",
       "                    \"value\": 129.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u9ad8\\u4e2d\",\n",
       "                    \"value\": 7.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u535a\\u58eb\",\n",
       "                    \"value\": 6.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4e2d\\u4e13/\\u4e2d\\u6280\",\n",
       "                    \"value\": 2.0\n",
       "                }\n",
       "            ],\n",
       "            \"radius\": [\n",
       "                \"0%\",\n",
       "                \"75%\"\n",
       "            ],\n",
       "            \"center\": [\n",
       "                \"50%\",\n",
       "                \"50%\"\n",
       "            ],\n",
       "            \"label\": {\n",
       "                \"normal\": {\n",
       "                    \"show\": true,\n",
       "                    \"position\": \"outside\",\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    },\n",
       "                    \"formatter\": \"{b}: {d}%\"\n",
       "                },\n",
       "                \"emphasis\": {\n",
       "                    \"show\": true,\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    },\n",
       "                    \"formatter\": \"{b}: {d}%\"\n",
       "                }\n",
       "            },\n",
       "            \"seriesId\": 2094048\n",
       "        }\n",
       "    ],\n",
       "    \"legend\": [\n",
       "        {\n",
       "            \"data\": [\n",
       "                \"\\u672c\\u79d1\",\n",
       "                \"\\u5927\\u4e13\",\n",
       "                \"\\u7855\\u58eb\",\n",
       "                \"\\u4e0d\\u9650\",\n",
       "                \"\\u9ad8\\u4e2d\",\n",
       "                \"\\u535a\\u58eb\",\n",
       "                \"\\u4e2d\\u4e13/\\u4e2d\\u6280\"\n",
       "            ],\n",
       "            \"selectedMode\": \"multiple\",\n",
       "            \"show\": true,\n",
       "            \"left\": \"center\",\n",
       "            \"top\": \"top\",\n",
       "            \"orient\": \"horizontal\",\n",
       "            \"textStyle\": {\n",
       "                \"fontSize\": 12\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"animation\": true,\n",
       "    \"color\": [\n",
       "        \"#c23531\",\n",
       "        \"#2f4554\",\n",
       "        \"#61a0a8\",\n",
       "        \"#d48265\",\n",
       "        \"#749f83\",\n",
       "        \"#ca8622\",\n",
       "        \"#bda29a\",\n",
       "        \"#6e7074\",\n",
       "        \"#546570\",\n",
       "        \"#c4ccd3\",\n",
       "        \"#f05b72\",\n",
       "        \"#ef5b9c\",\n",
       "        \"#f47920\",\n",
       "        \"#905a3d\",\n",
       "        \"#fab27b\",\n",
       "        \"#2a5caa\",\n",
       "        \"#444693\",\n",
       "        \"#726930\",\n",
       "        \"#b2d235\",\n",
       "        \"#6d8346\",\n",
       "        \"#ac6767\",\n",
       "        \"#1d953f\",\n",
       "        \"#6950a1\",\n",
       "        \"#918597\",\n",
       "        \"#f6f5ec\"\n",
       "    ]\n",
       "};\n",
       "myChart_6cb01f1277394da1940f21f350469b36.setOption(option_6cb01f1277394da1940f21f350469b36);\n",
       "\n",
       "    });\n",
       "</script>\n"
      ],
      "text/plain": [
       "<pyecharts.charts.pie.Pie at 0x292c64e7358>"
      ]
     },
     "execution_count": 259,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "##### degree = data['degree'].value_counts()\n",
    "pie = Pie('学历要求')\n",
    "pie.add('', list(degree.index), list(degree.values), is_label_show=True)\n",
    "pie"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 265,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<script>\n",
       "    require.config({\n",
       "        paths: {\n",
       "            'echarts': '/nbextensions/echarts/echarts.min'\n",
       "        }\n",
       "    });\n",
       "</script>\n",
       "    <div id=\"5d9e43e3452f4f99a1b73c2268300a46\" style=\"width:900px;height:400px;\"></div>\n",
       "\n",
       "\n",
       "<script>\n",
       "    require(['echarts'], function(echarts) {\n",
       "        \n",
       "var myChart_5d9e43e3452f4f99a1b73c2268300a46 = echarts.init(document.getElementById('5d9e43e3452f4f99a1b73c2268300a46'), 'light', {renderer: 'canvas'});\n",
       "\n",
       "var option_5d9e43e3452f4f99a1b73c2268300a46 = {\n",
       "    \"title\": [\n",
       "        {\n",
       "            \"text\": \"\\u4e0d\\u540c\\u804c\\u4f4d\\u5bf9\\u5b66\\u5386\\u7684\\u8981\\u6c42\",\n",
       "            \"left\": \"left\",\n",
       "            \"top\": \"auto\",\n",
       "            \"textStyle\": {\n",
       "                \"fontSize\": 18\n",
       "            },\n",
       "            \"subtextStyle\": {\n",
       "                \"fontSize\": 12\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"toolbox\": {\n",
       "        \"show\": true,\n",
       "        \"orient\": \"vertical\",\n",
       "        \"left\": \"95%\",\n",
       "        \"top\": \"center\",\n",
       "        \"feature\": {\n",
       "            \"saveAsImage\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"save as image\"\n",
       "            },\n",
       "            \"restore\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"restore\"\n",
       "            },\n",
       "            \"dataView\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"data view\"\n",
       "            }\n",
       "        }\n",
       "    },\n",
       "    \"series_id\": 87509,\n",
       "    \"tooltip\": {\n",
       "        \"trigger\": \"item\",\n",
       "        \"triggerOn\": \"mousemove|click\",\n",
       "        \"axisPointer\": {\n",
       "            \"type\": \"line\"\n",
       "        },\n",
       "        \"textStyle\": {\n",
       "            \"fontSize\": 14\n",
       "        },\n",
       "        \"backgroundColor\": \"rgba(50,50,50,0.7)\",\n",
       "        \"borderColor\": \"#333\",\n",
       "        \"borderWidth\": 0\n",
       "    },\n",
       "    \"series\": [\n",
       "        {\n",
       "            \"type\": \"pie\",\n",
       "            \"name\": \"\\u722c\\u866b\",\n",
       "            \"data\": [\n",
       "                {\n",
       "                    \"name\": \"\\u672c\\u79d1\",\n",
       "                    \"value\": 500.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5927\\u4e13\",\n",
       "                    \"value\": 103.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4e0d\\u9650\",\n",
       "                    \"value\": 47.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7855\\u58eb\",\n",
       "                    \"value\": 9.0\n",
       "                }\n",
       "            ],\n",
       "            \"radius\": [\n",
       "                \"20%\",\n",
       "                \"50%\"\n",
       "            ],\n",
       "            \"center\": [\n",
       "                \"15%\",\n",
       "                \"50%\"\n",
       "            ],\n",
       "            \"label\": {\n",
       "                \"normal\": {\n",
       "                    \"show\": true,\n",
       "                    \"position\": \"outside\",\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    },\n",
       "                    \"formatter\": \"{b}: {d}%\"\n",
       "                },\n",
       "                \"emphasis\": {\n",
       "                    \"show\": true,\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    },\n",
       "                    \"formatter\": \"{b}: {d}%\"\n",
       "                }\n",
       "            },\n",
       "            \"seriesId\": 87509\n",
       "        },\n",
       "        {\n",
       "            \"type\": \"pie\",\n",
       "            \"name\": \"\\u6570\\u636e\\u5206\\u6790\",\n",
       "            \"data\": [\n",
       "                {\n",
       "                    \"name\": \"\\u672c\\u79d1\",\n",
       "                    \"value\": 1230.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5927\\u4e13\",\n",
       "                    \"value\": 290.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7855\\u58eb\",\n",
       "                    \"value\": 88.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4e0d\\u9650\",\n",
       "                    \"value\": 58.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u9ad8\\u4e2d\",\n",
       "                    \"value\": 6.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u535a\\u58eb\",\n",
       "                    \"value\": 2.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4e2d\\u4e13/\\u4e2d\\u6280\",\n",
       "                    \"value\": 2.0\n",
       "                }\n",
       "            ],\n",
       "            \"radius\": [\n",
       "                \"20%\",\n",
       "                \"50%\"\n",
       "            ],\n",
       "            \"center\": [\n",
       "                \"45%\",\n",
       "                \"50%\"\n",
       "            ],\n",
       "            \"label\": {\n",
       "                \"normal\": {\n",
       "                    \"show\": true,\n",
       "                    \"position\": \"outside\",\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    },\n",
       "                    \"formatter\": \"{b}: {d}%\"\n",
       "                },\n",
       "                \"emphasis\": {\n",
       "                    \"show\": true,\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    },\n",
       "                    \"formatter\": \"{b}: {d}%\"\n",
       "                }\n",
       "            },\n",
       "            \"seriesId\": 87509\n",
       "        },\n",
       "        {\n",
       "            \"type\": \"pie\",\n",
       "            \"name\": \"\\u6570\\u636e\\u6316\\u6398\",\n",
       "            \"data\": [\n",
       "                {\n",
       "                    \"name\": \"\\u672c\\u79d1\",\n",
       "                    \"value\": 739.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7855\\u58eb\",\n",
       "                    \"value\": 216.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5927\\u4e13\",\n",
       "                    \"value\": 31.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4e0d\\u9650\",\n",
       "                    \"value\": 24.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u535a\\u58eb\",\n",
       "                    \"value\": 4.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u9ad8\\u4e2d\",\n",
       "                    \"value\": 1.0\n",
       "                }\n",
       "            ],\n",
       "            \"radius\": [\n",
       "                \"20%\",\n",
       "                \"50%\"\n",
       "            ],\n",
       "            \"center\": [\n",
       "                \"75%\",\n",
       "                \"50%\"\n",
       "            ],\n",
       "            \"label\": {\n",
       "                \"normal\": {\n",
       "                    \"show\": true,\n",
       "                    \"position\": \"outside\",\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    },\n",
       "                    \"formatter\": \"{b}: {d}%\"\n",
       "                },\n",
       "                \"emphasis\": {\n",
       "                    \"show\": true,\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    },\n",
       "                    \"formatter\": \"{b}: {d}%\"\n",
       "                }\n",
       "            },\n",
       "            \"seriesId\": 87509\n",
       "        }\n",
       "    ],\n",
       "    \"legend\": [\n",
       "        {\n",
       "            \"data\": [\n",
       "                \"\\u672c\\u79d1\",\n",
       "                \"\\u5927\\u4e13\",\n",
       "                \"\\u4e0d\\u9650\",\n",
       "                \"\\u7855\\u58eb\",\n",
       "                \"\\u9ad8\\u4e2d\",\n",
       "                \"\\u535a\\u58eb\",\n",
       "                \"\\u4e2d\\u4e13/\\u4e2d\\u6280\"\n",
       "            ],\n",
       "            \"selectedMode\": \"multiple\",\n",
       "            \"show\": true,\n",
       "            \"left\": \"center\",\n",
       "            \"top\": \"top\",\n",
       "            \"orient\": \"horizontal\",\n",
       "            \"textStyle\": {\n",
       "                \"fontSize\": 12\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"animation\": true,\n",
       "    \"color\": [\n",
       "        \"#6d8346\",\n",
       "        \"#749f83\",\n",
       "        \"#546570\",\n",
       "        \"#ca8622\",\n",
       "        \"#2a5caa\",\n",
       "        \"#f47920\",\n",
       "        \"#6950a1\",\n",
       "        \"#bda29a\",\n",
       "        \"#726930\",\n",
       "        \"#2f4554\",\n",
       "        \"#b2d235\",\n",
       "        \"#ef5b9c\",\n",
       "        \"#6e7074\",\n",
       "        \"#ac6767\",\n",
       "        \"#d48265\",\n",
       "        \"#905a3d\",\n",
       "        \"#444693\",\n",
       "        \"#c4ccd3\",\n",
       "        \"#f05b72\",\n",
       "        \"#fab27b\",\n",
       "        \"#f6f5ec\",\n",
       "        \"#1d953f\",\n",
       "        \"#c23531\",\n",
       "        \"#61a0a8\",\n",
       "        \"#918597\"\n",
       "    ]\n",
       "};\n",
       "myChart_5d9e43e3452f4f99a1b73c2268300a46.setOption(option_5d9e43e3452f4f99a1b73c2268300a46);\n",
       "\n",
       "    });\n",
       "</script>\n"
      ],
      "text/plain": [
       "<pyecharts.charts.pie.Pie at 0x292c6506978>"
      ]
     },
     "execution_count": 265,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 不同职位学历要求 \n",
    "pachong_degree = data[data['title']=='爬虫']['degree'].value_counts()\n",
    "fenxi_degree = data[data['title']=='数据分析']['degree'].value_counts()\n",
    "wajue_degree = data[data['title']=='数据挖掘']['degree'].value_counts()\n",
    "pie = Pie('不同职位对学历的要求', title_pos='left', width=900)\n",
    "pie.add('爬虫', list(pachong_degree.index), list(pachong_degree.values), center=[15, 50],\n",
    "       is_random=True, radius=[20, 50], is_label_show=True)\n",
    "pie.add('数据分析', list(fenxi_degree.index), list(fenxi_degree.values), center=[45, 50],\n",
    "       is_random=True, radius=[20, 50], is_label_show=True)\n",
    "pie.add('数据挖掘', list(wajue_degree.index), list(wajue_degree.values), center=[75, 50],\n",
    "       is_random=True, radius=[20, 50], is_label_show=True)\n",
    "pie"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 262,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<script>\n",
       "    require.config({\n",
       "        paths: {\n",
       "            'echarts': '/nbextensions/echarts/echarts.min'\n",
       "        }\n",
       "    });\n",
       "</script>\n",
       "    <div id=\"8ceb5b009929495abe27c373f10e44d3\" style=\"width:800px;height:400px;\"></div>\n",
       "\n",
       "\n",
       "<script>\n",
       "    require(['echarts'], function(echarts) {\n",
       "        \n",
       "var myChart_8ceb5b009929495abe27c373f10e44d3 = echarts.init(document.getElementById('8ceb5b009929495abe27c373f10e44d3'), 'light', {renderer: 'canvas'});\n",
       "\n",
       "var option_8ceb5b009929495abe27c373f10e44d3 = {\n",
       "    \"title\": [\n",
       "        {\n",
       "            \"text\": \"\\u7ecf\\u9a8c\\u8981\\u6c42\",\n",
       "            \"left\": \"left\",\n",
       "            \"top\": \"auto\",\n",
       "            \"textStyle\": {\n",
       "                \"fontSize\": 18\n",
       "            },\n",
       "            \"subtextStyle\": {\n",
       "                \"fontSize\": 12\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"toolbox\": {\n",
       "        \"show\": true,\n",
       "        \"orient\": \"vertical\",\n",
       "        \"left\": \"95%\",\n",
       "        \"top\": \"center\",\n",
       "        \"feature\": {\n",
       "            \"saveAsImage\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"save as image\"\n",
       "            },\n",
       "            \"restore\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"restore\"\n",
       "            },\n",
       "            \"dataView\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"data view\"\n",
       "            }\n",
       "        }\n",
       "    },\n",
       "    \"series_id\": 3364031,\n",
       "    \"tooltip\": {\n",
       "        \"trigger\": \"item\",\n",
       "        \"triggerOn\": \"mousemove|click\",\n",
       "        \"axisPointer\": {\n",
       "            \"type\": \"line\"\n",
       "        },\n",
       "        \"textStyle\": {\n",
       "            \"fontSize\": 14\n",
       "        },\n",
       "        \"backgroundColor\": \"rgba(50,50,50,0.7)\",\n",
       "        \"borderColor\": \"#333\",\n",
       "        \"borderWidth\": 0\n",
       "    },\n",
       "    \"series\": [\n",
       "        {\n",
       "            \"type\": \"pie\",\n",
       "            \"data\": [\n",
       "                {\n",
       "                    \"name\": \"3-5\\u5e74\",\n",
       "                    \"value\": 1322.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"1-3\\u5e74\",\n",
       "                    \"value\": 1018.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7ecf\\u9a8c\\u4e0d\\u9650\",\n",
       "                    \"value\": 417.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"5-10\\u5e74\",\n",
       "                    \"value\": 309.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"1\\u5e74\\u4ee5\\u5185\",\n",
       "                    \"value\": 170.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5e94\\u5c4a\\u751f\",\n",
       "                    \"value\": 106.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"10\\u5e74\\u4ee5\\u4e0a\",\n",
       "                    \"value\": 8.0\n",
       "                }\n",
       "            ],\n",
       "            \"radius\": [\n",
       "                \"0%\",\n",
       "                \"75%\"\n",
       "            ],\n",
       "            \"center\": [\n",
       "                \"50%\",\n",
       "                \"50%\"\n",
       "            ],\n",
       "            \"label\": {\n",
       "                \"normal\": {\n",
       "                    \"show\": true,\n",
       "                    \"position\": \"outside\",\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    },\n",
       "                    \"formatter\": \"{b}: {d}%\"\n",
       "                },\n",
       "                \"emphasis\": {\n",
       "                    \"show\": true,\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    },\n",
       "                    \"formatter\": \"{b}: {d}%\"\n",
       "                }\n",
       "            },\n",
       "            \"seriesId\": 3364031\n",
       "        }\n",
       "    ],\n",
       "    \"legend\": [\n",
       "        {\n",
       "            \"data\": [\n",
       "                \"3-5\\u5e74\",\n",
       "                \"1-3\\u5e74\",\n",
       "                \"\\u7ecf\\u9a8c\\u4e0d\\u9650\",\n",
       "                \"5-10\\u5e74\",\n",
       "                \"1\\u5e74\\u4ee5\\u5185\",\n",
       "                \"\\u5e94\\u5c4a\\u751f\",\n",
       "                \"10\\u5e74\\u4ee5\\u4e0a\"\n",
       "            ],\n",
       "            \"selectedMode\": \"multiple\",\n",
       "            \"show\": true,\n",
       "            \"left\": \"center\",\n",
       "            \"top\": \"top\",\n",
       "            \"orient\": \"horizontal\",\n",
       "            \"textStyle\": {\n",
       "                \"fontSize\": 12\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"animation\": true,\n",
       "    \"color\": [\n",
       "        \"#c23531\",\n",
       "        \"#2f4554\",\n",
       "        \"#61a0a8\",\n",
       "        \"#d48265\",\n",
       "        \"#749f83\",\n",
       "        \"#ca8622\",\n",
       "        \"#bda29a\",\n",
       "        \"#6e7074\",\n",
       "        \"#546570\",\n",
       "        \"#c4ccd3\",\n",
       "        \"#f05b72\",\n",
       "        \"#ef5b9c\",\n",
       "        \"#f47920\",\n",
       "        \"#905a3d\",\n",
       "        \"#fab27b\",\n",
       "        \"#2a5caa\",\n",
       "        \"#444693\",\n",
       "        \"#726930\",\n",
       "        \"#b2d235\",\n",
       "        \"#6d8346\",\n",
       "        \"#ac6767\",\n",
       "        \"#1d953f\",\n",
       "        \"#6950a1\",\n",
       "        \"#918597\",\n",
       "        \"#f6f5ec\"\n",
       "    ]\n",
       "};\n",
       "myChart_8ceb5b009929495abe27c373f10e44d3.setOption(option_8ceb5b009929495abe27c373f10e44d3);\n",
       "\n",
       "    });\n",
       "</script>\n"
      ],
      "text/plain": [
       "<pyecharts.charts.pie.Pie at 0x292c64f1b38>"
      ]
     },
     "execution_count": 262,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 经验要求\n",
    "experience = data['experience'].value_counts()\n",
    "# experience\n",
    "pie = Pie('经验要求', title_pos='left')\n",
    "pie.add('', list(experience.index), list(experience.values), is_label_show=True)\n",
    "pie"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 295,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<script>\n",
       "    require.config({\n",
       "        paths: {\n",
       "            'echarts': '/nbextensions/echarts/echarts.min'\n",
       "        }\n",
       "    });\n",
       "</script>\n",
       "    <div id=\"ef5c34b4b3dd42bbb940e5add50c9bcb\" style=\"width:1000px;height:400px;\"></div>\n",
       "\n",
       "\n",
       "<script>\n",
       "    require(['echarts'], function(echarts) {\n",
       "        \n",
       "var myChart_ef5c34b4b3dd42bbb940e5add50c9bcb = echarts.init(document.getElementById('ef5c34b4b3dd42bbb940e5add50c9bcb'), 'light', {renderer: 'canvas'});\n",
       "\n",
       "var option_ef5c34b4b3dd42bbb940e5add50c9bcb = {\n",
       "    \"title\": [\n",
       "        {\n",
       "            \"text\": \"\\u4e0d\\u540c\\u804c\\u4f4d\\u5bf9\\u5de5\\u4f5c\\u7ecf\\u9a8c\\u8981\\u6c42\\u5360\\u6bd4\",\n",
       "            \"left\": \"auto\",\n",
       "            \"top\": \"auto\",\n",
       "            \"textStyle\": {\n",
       "                \"fontSize\": 18\n",
       "            },\n",
       "            \"subtextStyle\": {\n",
       "                \"fontSize\": 12\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"toolbox\": {\n",
       "        \"show\": true,\n",
       "        \"orient\": \"vertical\",\n",
       "        \"left\": \"95%\",\n",
       "        \"top\": \"center\",\n",
       "        \"feature\": {\n",
       "            \"saveAsImage\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"save as image\"\n",
       "            },\n",
       "            \"restore\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"restore\"\n",
       "            },\n",
       "            \"dataView\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"data view\"\n",
       "            }\n",
       "        }\n",
       "    },\n",
       "    \"series_id\": 8457208,\n",
       "    \"tooltip\": {\n",
       "        \"trigger\": \"item\",\n",
       "        \"triggerOn\": \"mousemove|click\",\n",
       "        \"axisPointer\": {\n",
       "            \"type\": \"line\"\n",
       "        },\n",
       "        \"textStyle\": {\n",
       "            \"fontSize\": 14\n",
       "        },\n",
       "        \"backgroundColor\": \"rgba(50,50,50,0.7)\",\n",
       "        \"borderColor\": \"#333\",\n",
       "        \"borderWidth\": 0\n",
       "    },\n",
       "    \"series\": [\n",
       "        {\n",
       "            \"type\": \"pie\",\n",
       "            \"name\": \"\\u722c\\u866b\",\n",
       "            \"data\": [\n",
       "                {\n",
       "                    \"name\": \"3-5\\u5e74\",\n",
       "                    \"value\": 306.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"1-3\\u5e74\",\n",
       "                    \"value\": 210.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7ecf\\u9a8c\\u4e0d\\u9650\",\n",
       "                    \"value\": 64.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"5-10\\u5e74\",\n",
       "                    \"value\": 45.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"1\\u5e74\\u4ee5\\u5185\",\n",
       "                    \"value\": 17.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5e94\\u5c4a\\u751f\",\n",
       "                    \"value\": 16.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"10\\u5e74\\u4ee5\\u4e0a\",\n",
       "                    \"value\": 1.0\n",
       "                }\n",
       "            ],\n",
       "            \"radius\": [\n",
       "                \"20%\",\n",
       "                \"50%\"\n",
       "            ],\n",
       "            \"center\": [\n",
       "                \"20%\",\n",
       "                \"50%\"\n",
       "            ],\n",
       "            \"label\": {\n",
       "                \"normal\": {\n",
       "                    \"show\": true,\n",
       "                    \"position\": \"outside\",\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    },\n",
       "                    \"formatter\": \"{b}: {d}%\"\n",
       "                },\n",
       "                \"emphasis\": {\n",
       "                    \"show\": true,\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    },\n",
       "                    \"formatter\": \"{b}: {d}%\"\n",
       "                }\n",
       "            },\n",
       "            \"seriesId\": 8457208\n",
       "        },\n",
       "        {\n",
       "            \"type\": \"pie\",\n",
       "            \"name\": \"\\u6570\\u636e\\u5206\\u6790\",\n",
       "            \"data\": [\n",
       "                {\n",
       "                    \"name\": \"3-5\\u5e74\",\n",
       "                    \"value\": 568.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"1-3\\u5e74\",\n",
       "                    \"value\": 559.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7ecf\\u9a8c\\u4e0d\\u9650\",\n",
       "                    \"value\": 207.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"5-10\\u5e74\",\n",
       "                    \"value\": 160.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"1\\u5e74\\u4ee5\\u5185\",\n",
       "                    \"value\": 114.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5e94\\u5c4a\\u751f\",\n",
       "                    \"value\": 64.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"10\\u5e74\\u4ee5\\u4e0a\",\n",
       "                    \"value\": 4.0\n",
       "                }\n",
       "            ],\n",
       "            \"radius\": [\n",
       "                \"20%\",\n",
       "                \"50%\"\n",
       "            ],\n",
       "            \"center\": [\n",
       "                \"50%\",\n",
       "                \"50%\"\n",
       "            ],\n",
       "            \"label\": {\n",
       "                \"normal\": {\n",
       "                    \"show\": true,\n",
       "                    \"position\": \"outside\",\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    },\n",
       "                    \"formatter\": \"{b}: {d}%\"\n",
       "                },\n",
       "                \"emphasis\": {\n",
       "                    \"show\": true,\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    },\n",
       "                    \"formatter\": \"{b}: {d}%\"\n",
       "                }\n",
       "            },\n",
       "            \"seriesId\": 8457208\n",
       "        },\n",
       "        {\n",
       "            \"type\": \"pie\",\n",
       "            \"name\": \"\\u6570\\u636e\\u6316\\u6398\",\n",
       "            \"data\": [\n",
       "                {\n",
       "                    \"name\": \"3-5\\u5e74\",\n",
       "                    \"value\": 448.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"1-3\\u5e74\",\n",
       "                    \"value\": 249.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7ecf\\u9a8c\\u4e0d\\u9650\",\n",
       "                    \"value\": 146.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"5-10\\u5e74\",\n",
       "                    \"value\": 104.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"1\\u5e74\\u4ee5\\u5185\",\n",
       "                    \"value\": 39.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5e94\\u5c4a\\u751f\",\n",
       "                    \"value\": 26.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"10\\u5e74\\u4ee5\\u4e0a\",\n",
       "                    \"value\": 3.0\n",
       "                }\n",
       "            ],\n",
       "            \"radius\": [\n",
       "                \"20%\",\n",
       "                \"50%\"\n",
       "            ],\n",
       "            \"center\": [\n",
       "                \"80%\",\n",
       "                \"50%\"\n",
       "            ],\n",
       "            \"label\": {\n",
       "                \"normal\": {\n",
       "                    \"show\": true,\n",
       "                    \"position\": \"outside\",\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    },\n",
       "                    \"formatter\": \"{b}: {d}%\"\n",
       "                },\n",
       "                \"emphasis\": {\n",
       "                    \"show\": true,\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    },\n",
       "                    \"formatter\": \"{b}: {d}%\"\n",
       "                }\n",
       "            },\n",
       "            \"seriesId\": 8457208\n",
       "        }\n",
       "    ],\n",
       "    \"legend\": [\n",
       "        {\n",
       "            \"data\": [\n",
       "                \"3-5\\u5e74\",\n",
       "                \"1-3\\u5e74\",\n",
       "                \"\\u7ecf\\u9a8c\\u4e0d\\u9650\",\n",
       "                \"5-10\\u5e74\",\n",
       "                \"1\\u5e74\\u4ee5\\u5185\",\n",
       "                \"\\u5e94\\u5c4a\\u751f\",\n",
       "                \"10\\u5e74\\u4ee5\\u4e0a\"\n",
       "            ],\n",
       "            \"selectedMode\": \"multiple\",\n",
       "            \"show\": true,\n",
       "            \"left\": \"center\",\n",
       "            \"top\": \"top\",\n",
       "            \"orient\": \"horizontal\",\n",
       "            \"textStyle\": {\n",
       "                \"fontSize\": 12\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"animation\": true,\n",
       "    \"color\": [\n",
       "        \"#c23531\",\n",
       "        \"#2f4554\",\n",
       "        \"#61a0a8\",\n",
       "        \"#d48265\",\n",
       "        \"#749f83\",\n",
       "        \"#ca8622\",\n",
       "        \"#bda29a\",\n",
       "        \"#6e7074\",\n",
       "        \"#546570\",\n",
       "        \"#c4ccd3\",\n",
       "        \"#f05b72\",\n",
       "        \"#ef5b9c\",\n",
       "        \"#f47920\",\n",
       "        \"#905a3d\",\n",
       "        \"#fab27b\",\n",
       "        \"#2a5caa\",\n",
       "        \"#444693\",\n",
       "        \"#726930\",\n",
       "        \"#b2d235\",\n",
       "        \"#6d8346\",\n",
       "        \"#ac6767\",\n",
       "        \"#1d953f\",\n",
       "        \"#6950a1\",\n",
       "        \"#918597\",\n",
       "        \"#f6f5ec\"\n",
       "    ]\n",
       "};\n",
       "myChart_ef5c34b4b3dd42bbb940e5add50c9bcb.setOption(option_ef5c34b4b3dd42bbb940e5add50c9bcb);\n",
       "\n",
       "    });\n",
       "</script>\n"
      ],
      "text/plain": [
       "<pyecharts.charts.pie.Pie at 0x292c65151d0>"
      ]
     },
     "execution_count": 295,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "pachong_ex = data[data['title']=='爬虫']['experience'].value_counts()\n",
    "# pachong_ex\n",
    "fenxi_ex = data[data['title']=='数据分析']['experience'].value_counts()\n",
    "wajue_ex = data[data['title']=='数据挖掘']['experience'].value_counts()\n",
    "pie = Pie('不同职位对工作经验要求占比', width=1000)\n",
    "pie.add('爬虫', list(pachong_ex.index), list(pachong_ex.values), is_label_show=True, center=[20, 50],radius=[20,50])\n",
    "pie.add('数据分析', list(fenxi_ex.index), list(fenxi_ex.values), is_label_show=True, center=[50, 50],radius=[20,50])\n",
    "pie.add('数据挖掘', list(wajue_ex.index), list(wajue_ex.values), is_label_show=True, center=[80, 50],radius=[20,50])\n",
    "pie"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 4.薪水的地区分布及区间分布"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 284,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<script>\n",
       "    require.config({\n",
       "        paths: {\n",
       "            'echarts': '/nbextensions/echarts/echarts.min'\n",
       "        }\n",
       "    });\n",
       "</script>\n",
       "    <div id=\"4030d9950f1e4863a421c978b822452a\" style=\"width:800px;height:400px;\"></div>\n",
       "\n",
       "\n",
       "<script>\n",
       "    require(['echarts'], function(echarts) {\n",
       "        \n",
       "var myChart_4030d9950f1e4863a421c978b822452a = echarts.init(document.getElementById('4030d9950f1e4863a421c978b822452a'), 'light', {renderer: 'canvas'});\n",
       "\n",
       "var option_4030d9950f1e4863a421c978b822452a = {\n",
       "    \"title\": [\n",
       "        {\n",
       "            \"text\": \"\\u85aa\\u6c34\\u5206\\u5e03\",\n",
       "            \"left\": \"auto\",\n",
       "            \"top\": \"auto\",\n",
       "            \"textStyle\": {\n",
       "                \"fontSize\": 18\n",
       "            },\n",
       "            \"subtextStyle\": {\n",
       "                \"fontSize\": 12\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"toolbox\": {\n",
       "        \"show\": true,\n",
       "        \"orient\": \"vertical\",\n",
       "        \"left\": \"95%\",\n",
       "        \"top\": \"center\",\n",
       "        \"feature\": {\n",
       "            \"saveAsImage\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"save as image\"\n",
       "            },\n",
       "            \"restore\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"restore\"\n",
       "            },\n",
       "            \"dataView\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"data view\"\n",
       "            }\n",
       "        }\n",
       "    },\n",
       "    \"series_id\": 8803232,\n",
       "    \"tooltip\": {\n",
       "        \"trigger\": \"item\",\n",
       "        \"triggerOn\": \"mousemove|click\",\n",
       "        \"axisPointer\": {\n",
       "            \"type\": \"line\"\n",
       "        },\n",
       "        \"textStyle\": {\n",
       "            \"fontSize\": 14\n",
       "        },\n",
       "        \"backgroundColor\": \"rgba(50,50,50,0.7)\",\n",
       "        \"borderColor\": \"#333\",\n",
       "        \"borderWidth\": 0\n",
       "    },\n",
       "    \"series\": [\n",
       "        {\n",
       "            \"type\": \"pie\",\n",
       "            \"data\": [\n",
       "                {\n",
       "                    \"name\": \"15000-30000\",\n",
       "                    \"value\": 312.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"20000-40000\",\n",
       "                    \"value\": 290.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"10000-15000\",\n",
       "                    \"value\": 181.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"15000-25000\",\n",
       "                    \"value\": 166.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"10000-20000\",\n",
       "                    \"value\": 139.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"25000-50000\",\n",
       "                    \"value\": 108.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"20000-30000\",\n",
       "                    \"value\": 93.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"4000-6000\",\n",
       "                    \"value\": 85.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"15000-20000\",\n",
       "                    \"value\": 76.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"8000-15000\",\n",
       "                    \"value\": 69.0\n",
       "                }\n",
       "            ],\n",
       "            \"radius\": [\n",
       "                \"20%\",\n",
       "                \"50%\"\n",
       "            ],\n",
       "            \"center\": [\n",
       "                \"50%\",\n",
       "                \"50%\"\n",
       "            ],\n",
       "            \"label\": {\n",
       "                \"normal\": {\n",
       "                    \"show\": true,\n",
       "                    \"position\": \"outside\",\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    },\n",
       "                    \"formatter\": \"{b}: {d}%\"\n",
       "                },\n",
       "                \"emphasis\": {\n",
       "                    \"show\": true,\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    },\n",
       "                    \"formatter\": \"{b}: {d}%\"\n",
       "                }\n",
       "            },\n",
       "            \"seriesId\": 8803232\n",
       "        }\n",
       "    ],\n",
       "    \"legend\": [\n",
       "        {\n",
       "            \"data\": [\n",
       "                \"15000-30000\",\n",
       "                \"20000-40000\",\n",
       "                \"10000-15000\",\n",
       "                \"15000-25000\",\n",
       "                \"10000-20000\",\n",
       "                \"25000-50000\",\n",
       "                \"20000-30000\",\n",
       "                \"4000-6000\",\n",
       "                \"15000-20000\",\n",
       "                \"8000-15000\"\n",
       "            ],\n",
       "            \"selectedMode\": \"multiple\",\n",
       "            \"show\": true,\n",
       "            \"left\": \"center\",\n",
       "            \"top\": \"top\",\n",
       "            \"orient\": \"horizontal\",\n",
       "            \"textStyle\": {\n",
       "                \"fontSize\": 12\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"animation\": true,\n",
       "    \"color\": [\n",
       "        \"#c23531\",\n",
       "        \"#2f4554\",\n",
       "        \"#61a0a8\",\n",
       "        \"#d48265\",\n",
       "        \"#749f83\",\n",
       "        \"#ca8622\",\n",
       "        \"#bda29a\",\n",
       "        \"#6e7074\",\n",
       "        \"#546570\",\n",
       "        \"#c4ccd3\",\n",
       "        \"#f05b72\",\n",
       "        \"#ef5b9c\",\n",
       "        \"#f47920\",\n",
       "        \"#905a3d\",\n",
       "        \"#fab27b\",\n",
       "        \"#2a5caa\",\n",
       "        \"#444693\",\n",
       "        \"#726930\",\n",
       "        \"#b2d235\",\n",
       "        \"#6d8346\",\n",
       "        \"#ac6767\",\n",
       "        \"#1d953f\",\n",
       "        \"#6950a1\",\n",
       "        \"#918597\",\n",
       "        \"#f6f5ec\"\n",
       "    ]\n",
       "};\n",
       "myChart_4030d9950f1e4863a421c978b822452a.setOption(option_4030d9950f1e4863a421c978b822452a);\n",
       "\n",
       "    });\n",
       "</script>\n"
      ],
      "text/plain": [
       "<pyecharts.charts.pie.Pie at 0x292c65061d0>"
      ]
     },
     "execution_count": 284,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 薪水的区间分布 \n",
    "salary = data['salary'].value_counts().head(10)\n",
    "pie = Pie('薪水分布')\n",
    "pie.add('', list(salary.index), list(salary.values), is_label_show=True, radius=[20,50])\n",
    "pie"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 296,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<script>\n",
       "    require.config({\n",
       "        paths: {\n",
       "            'echarts': '/nbextensions/echarts/echarts.min'\n",
       "        }\n",
       "    });\n",
       "</script>\n",
       "    <div id=\"2c96e91c2d774121a696b655226cd817\" style=\"width:1000px;height:400px;\"></div>\n",
       "\n",
       "\n",
       "<script>\n",
       "    require(['echarts'], function(echarts) {\n",
       "        \n",
       "var myChart_2c96e91c2d774121a696b655226cd817 = echarts.init(document.getElementById('2c96e91c2d774121a696b655226cd817'), 'light', {renderer: 'canvas'});\n",
       "\n",
       "var option_2c96e91c2d774121a696b655226cd817 = {\n",
       "    \"title\": [\n",
       "        {\n",
       "            \"text\": \"\\u4e0d\\u540c\\u804c\\u4f4d\\u7ed9\\u51fa\\u7684\\u85aa\\u6c34\",\n",
       "            \"left\": \"auto\",\n",
       "            \"top\": \"auto\",\n",
       "            \"textStyle\": {\n",
       "                \"fontSize\": 18\n",
       "            },\n",
       "            \"subtextStyle\": {\n",
       "                \"fontSize\": 12\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"toolbox\": {\n",
       "        \"show\": true,\n",
       "        \"orient\": \"vertical\",\n",
       "        \"left\": \"95%\",\n",
       "        \"top\": \"center\",\n",
       "        \"feature\": {\n",
       "            \"saveAsImage\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"save as image\"\n",
       "            },\n",
       "            \"restore\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"restore\"\n",
       "            },\n",
       "            \"dataView\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"data view\"\n",
       "            }\n",
       "        }\n",
       "    },\n",
       "    \"series_id\": 339293,\n",
       "    \"tooltip\": {\n",
       "        \"trigger\": \"item\",\n",
       "        \"triggerOn\": \"mousemove|click\",\n",
       "        \"axisPointer\": {\n",
       "            \"type\": \"line\"\n",
       "        },\n",
       "        \"textStyle\": {\n",
       "            \"fontSize\": 14\n",
       "        },\n",
       "        \"backgroundColor\": \"rgba(50,50,50,0.7)\",\n",
       "        \"borderColor\": \"#333\",\n",
       "        \"borderWidth\": 0\n",
       "    },\n",
       "    \"series\": [\n",
       "        {\n",
       "            \"type\": \"pie\",\n",
       "            \"name\": \"\\u722c\\u866b\",\n",
       "            \"data\": [\n",
       "                {\n",
       "                    \"name\": \"15000-30000\",\n",
       "                    \"value\": 69.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"20000-40000\",\n",
       "                    \"value\": 51.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"15000-25000\",\n",
       "                    \"value\": 43.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"10000-20000\",\n",
       "                    \"value\": 42.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"10000-15000\",\n",
       "                    \"value\": 41.0\n",
       "                }\n",
       "            ],\n",
       "            \"radius\": [\n",
       "                \"15%\",\n",
       "                \"40%\"\n",
       "            ],\n",
       "            \"center\": [\n",
       "                \"20%\",\n",
       "                \"50%\"\n",
       "            ],\n",
       "            \"label\": {\n",
       "                \"normal\": {\n",
       "                    \"show\": true,\n",
       "                    \"position\": \"outside\",\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    },\n",
       "                    \"formatter\": \"{b}: {d}%\"\n",
       "                },\n",
       "                \"emphasis\": {\n",
       "                    \"show\": true,\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    },\n",
       "                    \"formatter\": \"{b}: {d}%\"\n",
       "                }\n",
       "            },\n",
       "            \"seriesId\": 339293\n",
       "        },\n",
       "        {\n",
       "            \"type\": \"pie\",\n",
       "            \"name\": \"\\u6570\\u636e\\u5206\\u6790\",\n",
       "            \"data\": [\n",
       "                {\n",
       "                    \"name\": \"15000-30000\",\n",
       "                    \"value\": 109.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"10000-15000\",\n",
       "                    \"value\": 108.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"4000-6000\",\n",
       "                    \"value\": 77.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"20000-40000\",\n",
       "                    \"value\": 75.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"15000-25000\",\n",
       "                    \"value\": 73.0\n",
       "                }\n",
       "            ],\n",
       "            \"radius\": [\n",
       "                \"15%\",\n",
       "                \"40%\"\n",
       "            ],\n",
       "            \"center\": [\n",
       "                \"55%\",\n",
       "                \"50%\"\n",
       "            ],\n",
       "            \"label\": {\n",
       "                \"normal\": {\n",
       "                    \"show\": true,\n",
       "                    \"position\": \"outside\",\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    },\n",
       "                    \"formatter\": \"{b}: {d}%\"\n",
       "                },\n",
       "                \"emphasis\": {\n",
       "                    \"show\": true,\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    },\n",
       "                    \"formatter\": \"{b}: {d}%\"\n",
       "                }\n",
       "            },\n",
       "            \"seriesId\": 339293\n",
       "        },\n",
       "        {\n",
       "            \"type\": \"pie\",\n",
       "            \"name\": \"\\u6570\\u636e\\u6316\\u6398\",\n",
       "            \"data\": [\n",
       "                {\n",
       "                    \"name\": \"20000-40000\",\n",
       "                    \"value\": 164.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"15000-30000\",\n",
       "                    \"value\": 134.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"25000-50000\",\n",
       "                    \"value\": 69.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"15000-25000\",\n",
       "                    \"value\": 50.0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"10000-20000\",\n",
       "                    \"value\": 42.0\n",
       "                }\n",
       "            ],\n",
       "            \"radius\": [\n",
       "                \"15%\",\n",
       "                \"40%\"\n",
       "            ],\n",
       "            \"center\": [\n",
       "                \"85%\",\n",
       "                \"50%\"\n",
       "            ],\n",
       "            \"label\": {\n",
       "                \"normal\": {\n",
       "                    \"show\": true,\n",
       "                    \"position\": \"outside\",\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    },\n",
       "                    \"formatter\": \"{b}: {d}%\"\n",
       "                },\n",
       "                \"emphasis\": {\n",
       "                    \"show\": true,\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    },\n",
       "                    \"formatter\": \"{b}: {d}%\"\n",
       "                }\n",
       "            },\n",
       "            \"seriesId\": 339293\n",
       "        }\n",
       "    ],\n",
       "    \"legend\": [\n",
       "        {\n",
       "            \"data\": [\n",
       "                \"15000-30000\",\n",
       "                \"20000-40000\",\n",
       "                \"15000-25000\",\n",
       "                \"10000-20000\",\n",
       "                \"10000-15000\",\n",
       "                \"4000-6000\",\n",
       "                \"25000-50000\"\n",
       "            ],\n",
       "            \"selectedMode\": \"multiple\",\n",
       "            \"show\": true,\n",
       "            \"left\": \"center\",\n",
       "            \"top\": \"top\",\n",
       "            \"orient\": \"horizontal\",\n",
       "            \"textStyle\": {\n",
       "                \"fontSize\": 12\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"animation\": true,\n",
       "    \"color\": [\n",
       "        \"#c23531\",\n",
       "        \"#2f4554\",\n",
       "        \"#61a0a8\",\n",
       "        \"#d48265\",\n",
       "        \"#749f83\",\n",
       "        \"#ca8622\",\n",
       "        \"#bda29a\",\n",
       "        \"#6e7074\",\n",
       "        \"#546570\",\n",
       "        \"#c4ccd3\",\n",
       "        \"#f05b72\",\n",
       "        \"#ef5b9c\",\n",
       "        \"#f47920\",\n",
       "        \"#905a3d\",\n",
       "        \"#fab27b\",\n",
       "        \"#2a5caa\",\n",
       "        \"#444693\",\n",
       "        \"#726930\",\n",
       "        \"#b2d235\",\n",
       "        \"#6d8346\",\n",
       "        \"#ac6767\",\n",
       "        \"#1d953f\",\n",
       "        \"#6950a1\",\n",
       "        \"#918597\",\n",
       "        \"#f6f5ec\"\n",
       "    ]\n",
       "};\n",
       "myChart_2c96e91c2d774121a696b655226cd817.setOption(option_2c96e91c2d774121a696b655226cd817);\n",
       "\n",
       "    });\n",
       "</script>\n"
      ],
      "text/plain": [
       "<pyecharts.charts.pie.Pie at 0x292c6515860>"
      ]
     },
     "execution_count": 296,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 不同职位给出的薪水 \n",
    "pachong_sa = data[data['title']=='爬虫']['salary'].value_counts().head(5)\n",
    "fenxi_sa = data[data['title']=='数据分析']['salary'].value_counts().head(5)\n",
    "wajue_sa = data[data['title']=='数据挖掘']['salary'].value_counts().head(5)\n",
    "pie = Pie('不同职位给出的薪水', width=1000)\n",
    "pie.add('爬虫', list(pachong_sa.index), list(pachong_sa.values), is_label_show=True, center=[20,50], radius=[15,40])\n",
    "pie.add('数据分析', list(fenxi_sa.index), list(fenxi_sa.values), is_label_show=True, center=[55,50], radius=[15,40])\n",
    "pie.add('数据挖掘', list(wajue_sa.index), list(wajue_sa.values), is_label_show=True, center=[85,50], radius=[15,40])\n",
    "pie"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 318,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<script>\n",
       "    require.config({\n",
       "        paths: {\n",
       "            'echarts': '/nbextensions/echarts/echarts.min'\n",
       "        }\n",
       "    });\n",
       "</script>\n",
       "    <div id=\"0eacb5661fdc411c8e523a72fce34120\" style=\"width:800px;height:400px;\"></div>\n",
       "\n",
       "\n",
       "<script>\n",
       "    require(['echarts'], function(echarts) {\n",
       "        \n",
       "var myChart_0eacb5661fdc411c8e523a72fce34120 = echarts.init(document.getElementById('0eacb5661fdc411c8e523a72fce34120'), 'light', {renderer: 'canvas'});\n",
       "\n",
       "var option_0eacb5661fdc411c8e523a72fce34120 = {\n",
       "    \"title\": [\n",
       "        {\n",
       "            \"text\": \"\\u804c\\u4f4d\\u53d1\\u5e03\\u4e0e\\u65f6\\u95f4\\u5173\\u7cfb\",\n",
       "            \"left\": \"auto\",\n",
       "            \"top\": \"auto\",\n",
       "            \"textStyle\": {\n",
       "                \"fontSize\": 18\n",
       "            },\n",
       "            \"subtextStyle\": {\n",
       "                \"fontSize\": 12\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"toolbox\": {\n",
       "        \"show\": true,\n",
       "        \"orient\": \"vertical\",\n",
       "        \"left\": \"95%\",\n",
       "        \"top\": \"center\",\n",
       "        \"feature\": {\n",
       "            \"saveAsImage\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"save as image\"\n",
       "            },\n",
       "            \"restore\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"restore\"\n",
       "            },\n",
       "            \"dataView\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"data view\"\n",
       "            }\n",
       "        }\n",
       "    },\n",
       "    \"series_id\": 39594,\n",
       "    \"tooltip\": {\n",
       "        \"trigger\": \"item\",\n",
       "        \"triggerOn\": \"mousemove|click\",\n",
       "        \"axisPointer\": {\n",
       "            \"type\": \"line\"\n",
       "        },\n",
       "        \"textStyle\": {\n",
       "            \"fontSize\": 14\n",
       "        },\n",
       "        \"backgroundColor\": \"rgba(50,50,50,0.7)\",\n",
       "        \"borderColor\": \"#333\",\n",
       "        \"borderWidth\": 0\n",
       "    },\n",
       "    \"series\": [\n",
       "        {\n",
       "            \"type\": \"line\",\n",
       "            \"symbol\": \"emptyCircle\",\n",
       "            \"symbolSize\": 4,\n",
       "            \"smooth\": false,\n",
       "            \"step\": false,\n",
       "            \"showSymbol\": true,\n",
       "            \"data\": [\n",
       "                [\n",
       "                    \"2019-01-01T00:00:00\",\n",
       "                    2.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-01-02T00:00:00\",\n",
       "                    10.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-01-03T00:00:00\",\n",
       "                    17.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-01-04T00:00:00\",\n",
       "                    18.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-01-05T00:00:00\",\n",
       "                    5.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-01-06T00:00:00\",\n",
       "                    2.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-01-07T00:00:00\",\n",
       "                    24.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-01-08T00:00:00\",\n",
       "                    10.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-01-09T00:00:00\",\n",
       "                    18.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-01-10T00:00:00\",\n",
       "                    12.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-01-11T00:00:00\",\n",
       "                    9.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-01-12T00:00:00\",\n",
       "                    3.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-01-13T00:00:00\",\n",
       "                    5.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-01-14T00:00:00\",\n",
       "                    20.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-01-15T00:00:00\",\n",
       "                    12.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-01-16T00:00:00\",\n",
       "                    13.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-01-17T00:00:00\",\n",
       "                    16.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-01-18T00:00:00\",\n",
       "                    9.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-01-19T00:00:00\",\n",
       "                    1.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-01-20T00:00:00\",\n",
       "                    2.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-01-21T00:00:00\",\n",
       "                    24.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-01-22T00:00:00\",\n",
       "                    12.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-01-23T00:00:00\",\n",
       "                    17.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-01-24T00:00:00\",\n",
       "                    14.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-01-25T00:00:00\",\n",
       "                    13.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-01-26T00:00:00\",\n",
       "                    7.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-01-27T00:00:00\",\n",
       "                    7.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-01-28T00:00:00\",\n",
       "                    13.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-01-29T00:00:00\",\n",
       "                    14.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-01-30T00:00:00\",\n",
       "                    10.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-01-31T00:00:00\",\n",
       "                    12.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-02-01T00:00:00\",\n",
       "                    10.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-02-02T00:00:00\",\n",
       "                    6.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-02-03T00:00:00\",\n",
       "                    1.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-02-04T00:00:00\",\n",
       "                    1.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-02-05T00:00:00\",\n",
       "                    1.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-02-06T00:00:00\",\n",
       "                    0.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-02-07T00:00:00\",\n",
       "                    1.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-02-08T00:00:00\",\n",
       "                    0.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-02-09T00:00:00\",\n",
       "                    4.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-02-10T00:00:00\",\n",
       "                    3.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-02-11T00:00:00\",\n",
       "                    22.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-02-12T00:00:00\",\n",
       "                    26.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-02-13T00:00:00\",\n",
       "                    37.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-02-14T00:00:00\",\n",
       "                    35.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-02-15T00:00:00\",\n",
       "                    44.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-02-16T00:00:00\",\n",
       "                    11.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-02-17T00:00:00\",\n",
       "                    4.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-02-18T00:00:00\",\n",
       "                    41.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-02-19T00:00:00\",\n",
       "                    62.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-02-20T00:00:00\",\n",
       "                    56.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-02-21T00:00:00\",\n",
       "                    64.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-02-22T00:00:00\",\n",
       "                    38.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-02-23T00:00:00\",\n",
       "                    17.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-02-24T00:00:00\",\n",
       "                    7.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-02-25T00:00:00\",\n",
       "                    55.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-02-26T00:00:00\",\n",
       "                    60.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-02-27T00:00:00\",\n",
       "                    70.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-02-28T00:00:00\",\n",
       "                    67.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-03-01T00:00:00\",\n",
       "                    67.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-03-02T00:00:00\",\n",
       "                    14.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-03-03T00:00:00\",\n",
       "                    9.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-03-04T00:00:00\",\n",
       "                    62.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-03-05T00:00:00\",\n",
       "                    87.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-03-06T00:00:00\",\n",
       "                    82.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-03-07T00:00:00\",\n",
       "                    84.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-03-08T00:00:00\",\n",
       "                    95.0\n",
       "                ],\n",
       "                [\n",
       "                    \"2019-03-09T00:00:00\",\n",
       "                    5.0\n",
       "                ]\n",
       "            ],\n",
       "            \"label\": {\n",
       "                \"normal\": {\n",
       "                    \"show\": false,\n",
       "                    \"position\": \"top\",\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    }\n",
       "                },\n",
       "                \"emphasis\": {\n",
       "                    \"show\": true,\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    }\n",
       "                }\n",
       "            },\n",
       "            \"lineStyle\": {\n",
       "                \"normal\": {\n",
       "                    \"width\": 1,\n",
       "                    \"opacity\": 1,\n",
       "                    \"curveness\": 0,\n",
       "                    \"type\": \"solid\"\n",
       "                }\n",
       "            },\n",
       "            \"areaStyle\": {\n",
       "                \"opacity\": 0\n",
       "            },\n",
       "            \"markPoint\": {\n",
       "                \"data\": []\n",
       "            },\n",
       "            \"markLine\": {\n",
       "                \"data\": []\n",
       "            },\n",
       "            \"seriesId\": 39594\n",
       "        }\n",
       "    ],\n",
       "    \"legend\": [\n",
       "        {\n",
       "            \"data\": [\n",
       "                \"\"\n",
       "            ],\n",
       "            \"selectedMode\": \"multiple\",\n",
       "            \"show\": true,\n",
       "            \"left\": \"center\",\n",
       "            \"top\": \"top\",\n",
       "            \"orient\": \"horizontal\",\n",
       "            \"textStyle\": {\n",
       "                \"fontSize\": 12\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"animation\": true,\n",
       "    \"xAxis\": [\n",
       "        {\n",
       "            \"show\": true,\n",
       "            \"nameLocation\": \"middle\",\n",
       "            \"nameGap\": 25,\n",
       "            \"nameTextStyle\": {\n",
       "                \"fontSize\": 14\n",
       "            },\n",
       "            \"axisTick\": {\n",
       "                \"alignWithLabel\": false\n",
       "            },\n",
       "            \"inverse\": false,\n",
       "            \"boundaryGap\": true,\n",
       "            \"type\": \"category\",\n",
       "            \"splitLine\": {\n",
       "                \"show\": false\n",
       "            },\n",
       "            \"axisLine\": {\n",
       "                \"lineStyle\": {\n",
       "                    \"width\": 1\n",
       "                }\n",
       "            },\n",
       "            \"axisLabel\": {\n",
       "                \"interval\": \"auto\",\n",
       "                \"rotate\": 0,\n",
       "                \"margin\": 8,\n",
       "                \"textStyle\": {\n",
       "                    \"fontSize\": 12\n",
       "                }\n",
       "            },\n",
       "            \"data\": [\n",
       "                \"2019-01-01T00:00:00\",\n",
       "                \"2019-01-02T00:00:00\",\n",
       "                \"2019-01-03T00:00:00\",\n",
       "                \"2019-01-04T00:00:00\",\n",
       "                \"2019-01-05T00:00:00\",\n",
       "                \"2019-01-06T00:00:00\",\n",
       "                \"2019-01-07T00:00:00\",\n",
       "                \"2019-01-08T00:00:00\",\n",
       "                \"2019-01-09T00:00:00\",\n",
       "                \"2019-01-10T00:00:00\",\n",
       "                \"2019-01-11T00:00:00\",\n",
       "                \"2019-01-12T00:00:00\",\n",
       "                \"2019-01-13T00:00:00\",\n",
       "                \"2019-01-14T00:00:00\",\n",
       "                \"2019-01-15T00:00:00\",\n",
       "                \"2019-01-16T00:00:00\",\n",
       "                \"2019-01-17T00:00:00\",\n",
       "                \"2019-01-18T00:00:00\",\n",
       "                \"2019-01-19T00:00:00\",\n",
       "                \"2019-01-20T00:00:00\",\n",
       "                \"2019-01-21T00:00:00\",\n",
       "                \"2019-01-22T00:00:00\",\n",
       "                \"2019-01-23T00:00:00\",\n",
       "                \"2019-01-24T00:00:00\",\n",
       "                \"2019-01-25T00:00:00\",\n",
       "                \"2019-01-26T00:00:00\",\n",
       "                \"2019-01-27T00:00:00\",\n",
       "                \"2019-01-28T00:00:00\",\n",
       "                \"2019-01-29T00:00:00\",\n",
       "                \"2019-01-30T00:00:00\",\n",
       "                \"2019-01-31T00:00:00\",\n",
       "                \"2019-02-01T00:00:00\",\n",
       "                \"2019-02-02T00:00:00\",\n",
       "                \"2019-02-03T00:00:00\",\n",
       "                \"2019-02-04T00:00:00\",\n",
       "                \"2019-02-05T00:00:00\",\n",
       "                \"2019-02-06T00:00:00\",\n",
       "                \"2019-02-07T00:00:00\",\n",
       "                \"2019-02-08T00:00:00\",\n",
       "                \"2019-02-09T00:00:00\",\n",
       "                \"2019-02-10T00:00:00\",\n",
       "                \"2019-02-11T00:00:00\",\n",
       "                \"2019-02-12T00:00:00\",\n",
       "                \"2019-02-13T00:00:00\",\n",
       "                \"2019-02-14T00:00:00\",\n",
       "                \"2019-02-15T00:00:00\",\n",
       "                \"2019-02-16T00:00:00\",\n",
       "                \"2019-02-17T00:00:00\",\n",
       "                \"2019-02-18T00:00:00\",\n",
       "                \"2019-02-19T00:00:00\",\n",
       "                \"2019-02-20T00:00:00\",\n",
       "                \"2019-02-21T00:00:00\",\n",
       "                \"2019-02-22T00:00:00\",\n",
       "                \"2019-02-23T00:00:00\",\n",
       "                \"2019-02-24T00:00:00\",\n",
       "                \"2019-02-25T00:00:00\",\n",
       "                \"2019-02-26T00:00:00\",\n",
       "                \"2019-02-27T00:00:00\",\n",
       "                \"2019-02-28T00:00:00\",\n",
       "                \"2019-03-01T00:00:00\",\n",
       "                \"2019-03-02T00:00:00\",\n",
       "                \"2019-03-03T00:00:00\",\n",
       "                \"2019-03-04T00:00:00\",\n",
       "                \"2019-03-05T00:00:00\",\n",
       "                \"2019-03-06T00:00:00\",\n",
       "                \"2019-03-07T00:00:00\",\n",
       "                \"2019-03-08T00:00:00\",\n",
       "                \"2019-03-09T00:00:00\"\n",
       "            ]\n",
       "        }\n",
       "    ],\n",
       "    \"yAxis\": [\n",
       "        {\n",
       "            \"show\": true,\n",
       "            \"nameLocation\": \"middle\",\n",
       "            \"nameGap\": 25,\n",
       "            \"nameTextStyle\": {\n",
       "                \"fontSize\": 14\n",
       "            },\n",
       "            \"axisTick\": {\n",
       "                \"alignWithLabel\": false\n",
       "            },\n",
       "            \"inverse\": false,\n",
       "            \"boundaryGap\": true,\n",
       "            \"type\": \"value\",\n",
       "            \"splitLine\": {\n",
       "                \"show\": true\n",
       "            },\n",
       "            \"axisLine\": {\n",
       "                \"lineStyle\": {\n",
       "                    \"width\": 1\n",
       "                }\n",
       "            },\n",
       "            \"axisLabel\": {\n",
       "                \"interval\": \"auto\",\n",
       "                \"formatter\": \"{value} \",\n",
       "                \"rotate\": 0,\n",
       "                \"margin\": 8,\n",
       "                \"textStyle\": {\n",
       "                    \"fontSize\": 12\n",
       "                }\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"color\": [\n",
       "        \"#c23531\",\n",
       "        \"#2f4554\",\n",
       "        \"#61a0a8\",\n",
       "        \"#d48265\",\n",
       "        \"#749f83\",\n",
       "        \"#ca8622\",\n",
       "        \"#bda29a\",\n",
       "        \"#6e7074\",\n",
       "        \"#546570\",\n",
       "        \"#c4ccd3\",\n",
       "        \"#f05b72\",\n",
       "        \"#ef5b9c\",\n",
       "        \"#f47920\",\n",
       "        \"#905a3d\",\n",
       "        \"#fab27b\",\n",
       "        \"#2a5caa\",\n",
       "        \"#444693\",\n",
       "        \"#726930\",\n",
       "        \"#b2d235\",\n",
       "        \"#6d8346\",\n",
       "        \"#ac6767\",\n",
       "        \"#1d953f\",\n",
       "        \"#6950a1\",\n",
       "        \"#918597\",\n",
       "        \"#f6f5ec\"\n",
       "    ]\n",
       "};\n",
       "myChart_0eacb5661fdc411c8e523a72fce34120.setOption(option_0eacb5661fdc411c8e523a72fce34120);\n",
       "\n",
       "    });\n",
       "</script>\n"
      ],
      "text/plain": [
       "<pyecharts.charts.line.Line at 0x292c650af60>"
      ]
     },
     "execution_count": 318,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "from pyecharts import Line\n",
    "data.set_index(data['release_time'], inplace=True)\n",
    "# job_release_time = data['title'].resample('D').count()\n",
    "job_release_time = data[data.index>pd.to_datetime('2019-1-1')]['title'].resample('D').count()\n",
    "line = Line('职位发布与时间关系')\n",
    "line.add('', list(job_release_time.index), list(job_release_time.values))\n",
    "line"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "##  6. 工作内容"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 355,
   "metadata": {},
   "outputs": [],
   "source": [
    "from pyecharts import WordCloud \n",
    "from collections import Counter \n",
    "import jieba\n",
    "\n",
    "swords = [x.strip() for x in open('stopwords.txt', encoding='utf-8')]\n",
    "def plot_wc(data):\n",
    "    text = ''.join(data)\n",
    "    words = list(jieba.cut(text))\n",
    "    processed_words = []\n",
    "    for word in words:\n",
    "        if len(word) and (word not in swords):\n",
    "            processed_words.append(word)\n",
    "    c = Counter(processed_words)\n",
    "    wc_data = pd.DataFrame({'keys': list(c.keys()), 'counts':list(c.values())}).sort_values(by='counts', ascending=False).head(100)\n",
    "    wc = WordCloud(width=1000, height=500)\n",
    "    wc.add('', wc_data['keys'], wc_data['counts'], words_size_range=[20,100])\n",
    "    return wc"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 363,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<script>\n",
       "    require.config({\n",
       "        paths: {\n",
       "            'echarts': '/nbextensions/echarts/echarts.min', 'wordcloud': '/nbextensions/echarts/echarts-wordcloud.min'\n",
       "        }\n",
       "    });\n",
       "</script>\n",
       "    <div id=\"ba26bfb05dd14a8eac9638d1c0b4541b\" style=\"width:1000px;height:500px;\"></div>\n",
       "\n",
       "\n",
       "<script>\n",
       "    require(['echarts', 'wordcloud'], function(echarts) {\n",
       "        \n",
       "var myChart_ba26bfb05dd14a8eac9638d1c0b4541b = echarts.init(document.getElementById('ba26bfb05dd14a8eac9638d1c0b4541b'), 'light', {renderer: 'canvas'});\n",
       "\n",
       "var option_ba26bfb05dd14a8eac9638d1c0b4541b = {\n",
       "    \"title\": [\n",
       "        {\n",
       "            \"left\": \"auto\",\n",
       "            \"top\": \"auto\",\n",
       "            \"textStyle\": {\n",
       "                \"fontSize\": 18\n",
       "            },\n",
       "            \"subtextStyle\": {\n",
       "                \"fontSize\": 12\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"toolbox\": {\n",
       "        \"show\": true,\n",
       "        \"orient\": \"vertical\",\n",
       "        \"left\": \"95%\",\n",
       "        \"top\": \"center\",\n",
       "        \"feature\": {\n",
       "            \"saveAsImage\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"save as image\"\n",
       "            },\n",
       "            \"restore\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"restore\"\n",
       "            },\n",
       "            \"dataView\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"data view\"\n",
       "            }\n",
       "        }\n",
       "    },\n",
       "    \"series_id\": 5091493,\n",
       "    \"tooltip\": {\n",
       "        \"trigger\": \"item\",\n",
       "        \"triggerOn\": \"mousemove|click\",\n",
       "        \"axisPointer\": {\n",
       "            \"type\": \"line\"\n",
       "        },\n",
       "        \"textStyle\": {\n",
       "            \"fontSize\": 14\n",
       "        },\n",
       "        \"backgroundColor\": \"rgba(50,50,50,0.7)\",\n",
       "        \"borderColor\": \"#333\",\n",
       "        \"borderWidth\": 0\n",
       "    },\n",
       "    \"series\": [\n",
       "        {\n",
       "            \"type\": \"wordCloud\",\n",
       "            \"shape\": \"circle\",\n",
       "            \"rotationRange\": [\n",
       "                -90,\n",
       "                90\n",
       "            ],\n",
       "            \"rotationStep\": 45,\n",
       "            \"girdSize\": 20,\n",
       "            \"sizeRange\": [\n",
       "                12,\n",
       "                60\n",
       "            ],\n",
       "            \"data\": [\n",
       "                {\n",
       "                    \"name\": \"\\t\",\n",
       "                    \"value\": 10100,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(126,105,46)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \" \",\n",
       "                    \"value\": 5278,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(135,94,148)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6570\\u636e\",\n",
       "                    \"value\": 4453,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(146,4,126)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5206\\u6790\",\n",
       "                    \"value\": 2828,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(21,110,57)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4e1a\\u52a1\",\n",
       "                    \"value\": 2735,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(149,16,152)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6570\\u636e\\u5206\\u6790\",\n",
       "                    \"value\": 1738,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(50,24,126)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4ea7\\u54c1\",\n",
       "                    \"value\": 1444,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(157,119,4)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u8fd0\\u8425\",\n",
       "                    \"value\": 1360,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(78,111,136)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u8d1f\\u8d23\",\n",
       "                    \"value\": 1338,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(143,140,78)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u8fdb\\u884c\",\n",
       "                    \"value\": 1275,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(147,127,143)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5de5\\u4f5c\",\n",
       "                    \"value\": 1134,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(6,80,2)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7528\\u6237\",\n",
       "                    \"value\": 935,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(29,103,134)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u9700\\u6c42\",\n",
       "                    \"value\": 916,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(90,22,121)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u76f8\\u5173\",\n",
       "                    \"value\": 800,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(71,5,101)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u516c\\u53f8\",\n",
       "                    \"value\": 774,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(67,146,93)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4f18\\u5316\",\n",
       "                    \"value\": 740,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(59,153,78)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5c97\\u4f4d\\u804c\\u8d23\",\n",
       "                    \"value\": 735,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(98,134,21)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u63d0\\u4f9b\",\n",
       "                    \"value\": 718,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(1,109,104)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u652f\\u6301\",\n",
       "                    \"value\": 677,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(136,148,154)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u62a5\\u544a\",\n",
       "                    \"value\": 664,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(140,30,52)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u95ee\\u9898\",\n",
       "                    \"value\": 645,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(105,105,14)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4efb\\u804c\",\n",
       "                    \"value\": 574,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(133,142,55)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6316\\u6398\",\n",
       "                    \"value\": 540,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(39,29,156)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u00a0\",\n",
       "                    \"value\": 535,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(93,23,16)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6a21\\u578b\",\n",
       "                    \"value\": 522,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(70,75,92)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7b56\\u7565\",\n",
       "                    \"value\": 479,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(82,64,111)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u76d1\\u63a7\",\n",
       "                    \"value\": 476,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(134,40,79)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5efa\\u7acb\",\n",
       "                    \"value\": 475,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(81,69,67)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5efa\\u8bae\",\n",
       "                    \"value\": 454,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(98,11,50)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u8bbe\\u8ba1\",\n",
       "                    \"value\": 442,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(17,42,5)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u51b3\\u7b56\",\n",
       "                    \"value\": 435,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(39,70,136)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u56e2\\u961f\",\n",
       "                    \"value\": 423,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(88,51,94)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5c97\\u4f4d\",\n",
       "                    \"value\": 413,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(106,104,34)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5ba2\\u6237\",\n",
       "                    \"value\": 412,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(28,124,75)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5b8c\\u6210\",\n",
       "                    \"value\": 412,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(57,114,58)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u9879\\u76ee\",\n",
       "                    \"value\": 407,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(58,106,37)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6307\\u6807\",\n",
       "                    \"value\": 397,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(90,2,125)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u80fd\\u529b\",\n",
       "                    \"value\": 391,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(36,73,128)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u62a5\\u8868\",\n",
       "                    \"value\": 379,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(139,87,38)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u63d0\\u51fa\",\n",
       "                    \"value\": 377,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(114,18,76)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4f53\\u7cfb\",\n",
       "                    \"value\": 377,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(33,55,53)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5f00\\u53d1\",\n",
       "                    \"value\": 366,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(132,150,24)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u90e8\\u95e8\",\n",
       "                    \"value\": 360,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(92,73,41)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u884c\\u4e3a\",\n",
       "                    \"value\": 347,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(82,95,6)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u65e5\\u5e38\",\n",
       "                    \"value\": 343,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(49,150,119)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u804c\\u4f4d\",\n",
       "                    \"value\": 340,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(147,23,142)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u884c\\u4e1a\",\n",
       "                    \"value\": 340,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(19,0,119)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7edf\\u8ba1\",\n",
       "                    \"value\": 328,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(17,4,86)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u53d1\\u73b0\",\n",
       "                    \"value\": 324,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(155,106,51)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5e73\\u53f0\",\n",
       "                    \"value\": 321,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(10,109,118)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7814\\u7a76\",\n",
       "                    \"value\": 310,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(12,36,65)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u63a8\\u52a8\",\n",
       "                    \"value\": 301,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(112,4,154)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7ecf\\u9a8c\",\n",
       "                    \"value\": 298,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(126,129,73)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6570\\u636e\\u6316\\u6398\",\n",
       "                    \"value\": 295,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(61,68,107)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4e2d\",\n",
       "                    \"value\": 279,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(86,118,142)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5efa\\u6a21\",\n",
       "                    \"value\": 278,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(66,65,85)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u65b9\\u6848\",\n",
       "                    \"value\": 277,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(69,8,146)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7ba1\\u7406\",\n",
       "                    \"value\": 275,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(43,121,58)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u63cf\\u8ff0\",\n",
       "                    \"value\": 274,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(43,121,74)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u53c2\\u4e0e\",\n",
       "                    \"value\": 273,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(80,65,82)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u9500\\u552e\",\n",
       "                    \"value\": 266,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(155,88,147)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u63d0\\u4f9b\\u6570\\u636e\",\n",
       "                    \"value\": 266,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(143,99,118)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5236\\u5b9a\",\n",
       "                    \"value\": 255,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(86,3,118)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6574\\u7406\",\n",
       "                    \"value\": 252,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(64,126,94)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6c9f\\u901a\",\n",
       "                    \"value\": 251,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(44,69,36)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u534f\\u52a9\",\n",
       "                    \"value\": 247,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(17,114,1)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6280\\u672f\",\n",
       "                    \"value\": 245,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(149,24,155)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7406\\u89e3\",\n",
       "                    \"value\": 238,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(118,29,49)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4e1a\\u52a1\\u90e8\\u95e8\",\n",
       "                    \"value\": 233,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(16,102,46)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u642d\\u5efa\",\n",
       "                    \"value\": 230,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(13,38,87)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5e94\\u7528\",\n",
       "                    \"value\": 229,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(112,19,143)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4f7f\\u7528\",\n",
       "                    \"value\": 228,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(45,37,4)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6df1\\u5165\",\n",
       "                    \"value\": 224,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(57,39,77)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u804c\\u8d23\",\n",
       "                    \"value\": 224,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(141,7,106)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u65b9\\u5411\",\n",
       "                    \"value\": 223,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(37,68,34)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5e02\\u573a\",\n",
       "                    \"value\": 222,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(26,121,152)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5b66\\u4e60\",\n",
       "                    \"value\": 222,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(148,44,108)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7b97\\u6cd5\",\n",
       "                    \"value\": 221,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(110,30,30)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u843d\\u5730\",\n",
       "                    \"value\": 218,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(121,30,45)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7cfb\\u7edf\",\n",
       "                    \"value\": 218,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(30,136,6)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u8ddf\\u8e2a\",\n",
       "                    \"value\": 212,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(71,12,1)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u719f\\u6089\",\n",
       "                    \"value\": 208,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(16,42,104)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4fe1\\u606f\",\n",
       "                    \"value\": 206,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(14,52,68)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u63d0\\u5347\",\n",
       "                    \"value\": 206,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(126,3,11)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u53ca\\u65f6\",\n",
       "                    \"value\": 206,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(156,84,24)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u53d1\\u5c55\",\n",
       "                    \"value\": 204,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(137,155,15)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4ef7\\u503c\",\n",
       "                    \"value\": 203,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(115,155,80)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u80fd\\u591f\",\n",
       "                    \"value\": 199,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(28,9,10)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5b9e\\u73b0\",\n",
       "                    \"value\": 199,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(107,155,154)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6784\\u5efa\",\n",
       "                    \"value\": 198,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(22,114,60)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4f18\\u5148\",\n",
       "                    \"value\": 197,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(151,68,130)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5305\\u62ec\",\n",
       "                    \"value\": 197,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(88,144,143)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5efa\\u8bbe\",\n",
       "                    \"value\": 194,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(114,25,62)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6548\\u679c\",\n",
       "                    \"value\": 194,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(38,128,56)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6536\\u96c6\",\n",
       "                    \"value\": 192,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(75,131,8)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4e86\\u89e3\",\n",
       "                    \"value\": 190,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(12,51,96)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u98ce\\u9669\",\n",
       "                    \"value\": 190,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(8,158,150)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u8bc4\\u4f30\",\n",
       "                    \"value\": 189,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(140,5,101)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6d41\\u7a0b\",\n",
       "                    \"value\": 189,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(33,24,27)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7ef4\\u62a4\",\n",
       "                    \"value\": 185,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(72,89,37)\"\n",
       "                        }\n",
       "                    }\n",
       "                }\n",
       "            ]\n",
       "        }\n",
       "    ],\n",
       "    \"legend\": [\n",
       "        {\n",
       "            \"data\": [],\n",
       "            \"selectedMode\": \"multiple\",\n",
       "            \"show\": true,\n",
       "            \"left\": \"center\",\n",
       "            \"top\": \"top\",\n",
       "            \"orient\": \"horizontal\",\n",
       "            \"textStyle\": {\n",
       "                \"fontSize\": 12\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"animation\": true,\n",
       "    \"color\": [\n",
       "        \"#c23531\",\n",
       "        \"#2f4554\",\n",
       "        \"#61a0a8\",\n",
       "        \"#d48265\",\n",
       "        \"#749f83\",\n",
       "        \"#ca8622\",\n",
       "        \"#bda29a\",\n",
       "        \"#6e7074\",\n",
       "        \"#546570\",\n",
       "        \"#c4ccd3\",\n",
       "        \"#f05b72\",\n",
       "        \"#ef5b9c\",\n",
       "        \"#f47920\",\n",
       "        \"#905a3d\",\n",
       "        \"#fab27b\",\n",
       "        \"#2a5caa\",\n",
       "        \"#444693\",\n",
       "        \"#726930\",\n",
       "        \"#b2d235\",\n",
       "        \"#6d8346\",\n",
       "        \"#ac6767\",\n",
       "        \"#1d953f\",\n",
       "        \"#6950a1\",\n",
       "        \"#918597\",\n",
       "        \"#f6f5ec\"\n",
       "    ]\n",
       "};\n",
       "myChart_ba26bfb05dd14a8eac9638d1c0b4541b.setOption(option_ba26bfb05dd14a8eac9638d1c0b4541b);\n",
       "\n",
       "    });\n",
       "</script>\n"
      ],
      "text/plain": [
       "<pyecharts.charts.wordcloud.WordCloud at 0x292cc03abe0>"
      ]
     },
     "execution_count": 363,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# data[data['title']=='数据分析']['job_desc']\n",
    "# 岗位描述\n",
    "plot_wc(data[data['title']=='数据分析']['job_desc'])\n",
    "# data[data['title']=='数据分析']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 362,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<script>\n",
       "    require.config({\n",
       "        paths: {\n",
       "            'echarts': '/nbextensions/echarts/echarts.min', 'wordcloud': '/nbextensions/echarts/echarts-wordcloud.min'\n",
       "        }\n",
       "    });\n",
       "</script>\n",
       "    <div id=\"832ab49b4a074eaca2d133311bab1fce\" style=\"width:1000px;height:500px;\"></div>\n",
       "\n",
       "\n",
       "<script>\n",
       "    require(['echarts', 'wordcloud'], function(echarts) {\n",
       "        \n",
       "var myChart_832ab49b4a074eaca2d133311bab1fce = echarts.init(document.getElementById('832ab49b4a074eaca2d133311bab1fce'), 'light', {renderer: 'canvas'});\n",
       "\n",
       "var option_832ab49b4a074eaca2d133311bab1fce = {\n",
       "    \"title\": [\n",
       "        {\n",
       "            \"left\": \"auto\",\n",
       "            \"top\": \"auto\",\n",
       "            \"textStyle\": {\n",
       "                \"fontSize\": 18\n",
       "            },\n",
       "            \"subtextStyle\": {\n",
       "                \"fontSize\": 12\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"toolbox\": {\n",
       "        \"show\": true,\n",
       "        \"orient\": \"vertical\",\n",
       "        \"left\": \"95%\",\n",
       "        \"top\": \"center\",\n",
       "        \"feature\": {\n",
       "            \"saveAsImage\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"save as image\"\n",
       "            },\n",
       "            \"restore\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"restore\"\n",
       "            },\n",
       "            \"dataView\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"data view\"\n",
       "            }\n",
       "        }\n",
       "    },\n",
       "    \"series_id\": 3690376,\n",
       "    \"tooltip\": {\n",
       "        \"trigger\": \"item\",\n",
       "        \"triggerOn\": \"mousemove|click\",\n",
       "        \"axisPointer\": {\n",
       "            \"type\": \"line\"\n",
       "        },\n",
       "        \"textStyle\": {\n",
       "            \"fontSize\": 14\n",
       "        },\n",
       "        \"backgroundColor\": \"rgba(50,50,50,0.7)\",\n",
       "        \"borderColor\": \"#333\",\n",
       "        \"borderWidth\": 0\n",
       "    },\n",
       "    \"series\": [\n",
       "        {\n",
       "            \"type\": \"wordCloud\",\n",
       "            \"shape\": \"circle\",\n",
       "            \"rotationRange\": [\n",
       "                -90,\n",
       "                90\n",
       "            ],\n",
       "            \"rotationStep\": 45,\n",
       "            \"girdSize\": 20,\n",
       "            \"sizeRange\": [\n",
       "                12,\n",
       "                60\n",
       "            ],\n",
       "            \"data\": [\n",
       "                {\n",
       "                    \"name\": \"\\t\",\n",
       "                    \"value\": 9930,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(99,148,18)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \" \",\n",
       "                    \"value\": 4422,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(114,147,72)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u80fd\\u529b\",\n",
       "                    \"value\": 2485,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(62,100,41)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6570\\u636e\",\n",
       "                    \"value\": 2345,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(72,41,132)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7ecf\\u9a8c\",\n",
       "                    \"value\": 2087,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(19,143,18)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6570\\u636e\\u5206\\u6790\",\n",
       "                    \"value\": 1691,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(32,72,101)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4f18\\u5148\",\n",
       "                    \"value\": 1516,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(10,125,3)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u76f8\\u5173\",\n",
       "                    \"value\": 1515,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(12,21,99)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5de5\\u4f5c\",\n",
       "                    \"value\": 1414,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(44,129,158)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5206\\u6790\",\n",
       "                    \"value\": 1281,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(120,38,19)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u719f\\u6089\",\n",
       "                    \"value\": 1172,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(139,154,159)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u719f\\u7ec3\",\n",
       "                    \"value\": 931,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(49,65,119)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4f7f\\u7528\",\n",
       "                    \"value\": 842,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(136,55,147)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u826f\\u597d\",\n",
       "                    \"value\": 837,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(67,46,29)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4e13\\u4e1a\",\n",
       "                    \"value\": 830,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(140,119,47)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4ee5\\u4e0a\\u5b66\\u5386\",\n",
       "                    \"value\": 821,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(152,14,99)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6c9f\\u901a\",\n",
       "                    \"value\": 798,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(76,12,21)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5f3a\",\n",
       "                    \"value\": 772,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(59,36,150)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5e74\",\n",
       "                    \"value\": 754,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(92,144,36)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6570\\u5b66\",\n",
       "                    \"value\": 748,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(54,58,41)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5177\\u5907\",\n",
       "                    \"value\": 734,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(143,92,109)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"SQL\",\n",
       "                    \"value\": 646,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(116,117,62)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5177\\u6709\",\n",
       "                    \"value\": 629,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(154,41,49)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4e1a\\u52a1\",\n",
       "                    \"value\": 590,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(57,39,76)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u672c\\u79d1\",\n",
       "                    \"value\": 558,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(127,51,93)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u56e2\\u961f\",\n",
       "                    \"value\": 550,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(131,110,14)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7edf\\u8ba1\\u5b66\",\n",
       "                    \"value\": 547,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(1,49,45)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5b66\\u4e60\",\n",
       "                    \"value\": 541,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(155,98,43)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7edf\\u8ba1\",\n",
       "                    \"value\": 534,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(33,56,59)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5de5\\u5177\",\n",
       "                    \"value\": 516,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(156,82,154)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u8ba1\\u7b97\\u673a\",\n",
       "                    \"value\": 494,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(150,152,90)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u00a0\",\n",
       "                    \"value\": 463,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(142,75,92)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4e92\\u8054\\u7f51\",\n",
       "                    \"value\": 462,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(71,118,45)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u884c\\u4e1a\",\n",
       "                    \"value\": 454,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(140,2,141)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6570\\u636e\\u6316\\u6398\",\n",
       "                    \"value\": 423,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(3,142,149)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"R\",\n",
       "                    \"value\": 422,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(122,38,122)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u80fd\\u591f\",\n",
       "                    \"value\": 394,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(127,14,132)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u8f83\\u5f3a\",\n",
       "                    \"value\": 374,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(49,41,146)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u8f6f\\u4ef6\",\n",
       "                    \"value\": 372,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(108,95,93)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5efa\\u6a21\",\n",
       "                    \"value\": 360,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(30,13,154)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Python\",\n",
       "                    \"value\": 358,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(5,63,71)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u903b\\u8f91\",\n",
       "                    \"value\": 356,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(71,138,86)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4ea7\\u54c1\",\n",
       "                    \"value\": 346,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(40,51,58)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7b97\\u6cd5\",\n",
       "                    \"value\": 341,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(40,86,83)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u9879\\u76ee\",\n",
       "                    \"value\": 333,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(126,20,126)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u8fdb\\u884c\",\n",
       "                    \"value\": 329,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(106,159,97)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u903b\\u8f91\\u601d\\u7ef4\",\n",
       "                    \"value\": 310,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(54,149,126)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u516c\\u53f8\",\n",
       "                    \"value\": 307,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(26,110,106)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4e00\\u5b9a\",\n",
       "                    \"value\": 306,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(42,81,44)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u8fd0\\u8425\",\n",
       "                    \"value\": 298,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(53,115,22)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u654f\\u611f\",\n",
       "                    \"value\": 297,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(40,20,152)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6570\\u636e\\u5e93\",\n",
       "                    \"value\": 296,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(142,9,74)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u719f\\u7ec3\\u638c\\u63e1\",\n",
       "                    \"value\": 294,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(116,102,115)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4e86\\u89e3\",\n",
       "                    \"value\": 294,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(128,60,23)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7cbe\\u901a\",\n",
       "                    \"value\": 290,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(118,23,93)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u95ee\\u9898\",\n",
       "                    \"value\": 285,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(52,24,105)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Excel\",\n",
       "                    \"value\": 276,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(108,62,94)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6316\\u6398\",\n",
       "                    \"value\": 268,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(98,77,128)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u8d23\\u4efb\\u5fc3\",\n",
       "                    \"value\": 256,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(79,60,48)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4f18\\u79c0\",\n",
       "                    \"value\": 255,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(133,61,127)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u81f3\\u5c11\",\n",
       "                    \"value\": 252,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(67,130,1)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u8bed\\u8a00\",\n",
       "                    \"value\": 251,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(153,22,48)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5e38\\u7528\",\n",
       "                    \"value\": 249,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(99,75,94)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4e00\\u79cd\",\n",
       "                    \"value\": 248,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(90,57,129)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"SPSS\",\n",
       "                    \"value\": 245,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(154,111,111)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5546\\u4e1a\",\n",
       "                    \"value\": 244,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(150,128,10)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u638c\\u63e1\",\n",
       "                    \"value\": 242,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(1,65,127)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"SAS\",\n",
       "                    \"value\": 240,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(148,1,82)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u91d1\\u878d\",\n",
       "                    \"value\": 237,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(50,114,128)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5584\\u4e8e\",\n",
       "                    \"value\": 235,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(96,16,75)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u654f\\u611f\\u5ea6\",\n",
       "                    \"value\": 234,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(15,7,38)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u62a5\\u544a\",\n",
       "                    \"value\": 232,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(78,2,67)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u72ec\\u7acb\",\n",
       "                    \"value\": 231,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(120,74,92)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5e94\\u7528\",\n",
       "                    \"value\": 231,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(157,143,158)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4e2d\",\n",
       "                    \"value\": 222,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(153,49,11)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5f00\\u53d1\",\n",
       "                    \"value\": 221,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(103,149,70)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6280\\u672f\",\n",
       "                    \"value\": 218,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(24,62,95)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7cbe\\u795e\",\n",
       "                    \"value\": 209,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(156,4,106)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u8003\\u8651\",\n",
       "                    \"value\": 206,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(44,141,41)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u65b9\\u6cd5\",\n",
       "                    \"value\": 202,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(133,49,58)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6570\\u636e\\u5904\\u7406\",\n",
       "                    \"value\": 201,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(98,134,77)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5408\\u4f5c\",\n",
       "                    \"value\": 197,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(148,141,40)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7ba1\\u7406\",\n",
       "                    \"value\": 188,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(76,78,42)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"python\",\n",
       "                    \"value\": 188,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(125,5,157)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7535\\u5546\",\n",
       "                    \"value\": 176,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(96,137,33)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u673a\\u5668\",\n",
       "                    \"value\": 174,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(154,14,132)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u9700\\u6c42\",\n",
       "                    \"value\": 174,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(4,11,152)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7528\\u6237\",\n",
       "                    \"value\": 168,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(108,92,65)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u529e\\u516c\",\n",
       "                    \"value\": 165,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(83,129,16)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"PPT\",\n",
       "                    \"value\": 163,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(128,134,150)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6a21\\u578b\",\n",
       "                    \"value\": 161,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(0,110,82)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6d77\\u91cf\",\n",
       "                    \"value\": 160,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(4,32,53)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u534f\\u8c03\",\n",
       "                    \"value\": 158,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(99,113,101)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4e30\\u5bcc\",\n",
       "                    \"value\": 155,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(38,69,15)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u601d\\u7ef4\",\n",
       "                    \"value\": 154,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(34,140,5)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u63d0\\u4f9b\",\n",
       "                    \"value\": 148,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(18,121,148)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7406\\u89e3\",\n",
       "                    \"value\": 148,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(122,140,110)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5feb\\u901f\",\n",
       "                    \"value\": 146,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(6,115,88)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u534f\\u4f5c\",\n",
       "                    \"value\": 145,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(81,111,37)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u80cc\\u666f\",\n",
       "                    \"value\": 145,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(89,11,160)\"\n",
       "                        }\n",
       "                    }\n",
       "                }\n",
       "            ]\n",
       "        }\n",
       "    ],\n",
       "    \"legend\": [\n",
       "        {\n",
       "            \"data\": [],\n",
       "            \"selectedMode\": \"multiple\",\n",
       "            \"show\": true,\n",
       "            \"left\": \"center\",\n",
       "            \"top\": \"top\",\n",
       "            \"orient\": \"horizontal\",\n",
       "            \"textStyle\": {\n",
       "                \"fontSize\": 12\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"animation\": true,\n",
       "    \"color\": [\n",
       "        \"#c23531\",\n",
       "        \"#2f4554\",\n",
       "        \"#61a0a8\",\n",
       "        \"#d48265\",\n",
       "        \"#749f83\",\n",
       "        \"#ca8622\",\n",
       "        \"#bda29a\",\n",
       "        \"#6e7074\",\n",
       "        \"#546570\",\n",
       "        \"#c4ccd3\",\n",
       "        \"#f05b72\",\n",
       "        \"#ef5b9c\",\n",
       "        \"#f47920\",\n",
       "        \"#905a3d\",\n",
       "        \"#fab27b\",\n",
       "        \"#2a5caa\",\n",
       "        \"#444693\",\n",
       "        \"#726930\",\n",
       "        \"#b2d235\",\n",
       "        \"#6d8346\",\n",
       "        \"#ac6767\",\n",
       "        \"#1d953f\",\n",
       "        \"#6950a1\",\n",
       "        \"#918597\",\n",
       "        \"#f6f5ec\"\n",
       "    ]\n",
       "};\n",
       "myChart_832ab49b4a074eaca2d133311bab1fce.setOption(option_832ab49b4a074eaca2d133311bab1fce);\n",
       "\n",
       "    });\n",
       "</script>\n"
      ],
      "text/plain": [
       "<pyecharts.charts.wordcloud.WordCloud at 0x292d262b710>"
      ]
     },
     "execution_count": 362,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 技能要求\n",
    "plot_wc(data[data['title']=='数据分析']['requirements'])"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.5"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
